AVL_IT
asked on
MAC OS - folder permissions
i need to copy a mib file which i have downloaded onto my desktop. when issuing the following command and enter the prompted password it says operation not permitted.
MacBook-Pro:Desktop bryantotten$ sudo cp AIRESPACE-REF-MIB.my /usr/share/snmp/mibs/
cp: /usr/share/snmp/mibs/AIRES PACE-REF-M IB.my: Operation not permitted
thanks for any assistance you can provide
MacBook-Pro:Desktop bryantotten$ sudo cp AIRESPACE-REF-MIB.my /usr/share/snmp/mibs/
cp: /usr/share/snmp/mibs/AIRES
thanks for any assistance you can provide
ASKER
Gerwin-
thanks for the response. i am working on a script which calls netsnmp. this script will be a network management tool for cisco devices. the mibs that come with the mac os do not include the cisco mibs, which is why i need to update.
i understand your concern in writing to this file location, however i am not coming up with a good workaround.
thanks!
thanks for the response. i am working on a script which calls netsnmp. this script will be a network management tool for cisco devices. the mibs that come with the mac os do not include the cisco mibs, which is why i need to update.
i understand your concern in writing to this file location, however i am not coming up with a good workaround.
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that worked. thanks!
The message you get means indeed that you have no permission to copy files into the /usr/share/snmp/mibs folder.
There is a way to disable System Integrity Protection but that is not advised. Why do you need to copy a file to that location?