Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I save a file in /usr/local/lib/cnet? I'm trying to save a GIF image in the CNET resource folder to use for a simulation.

It says permission denied, and when I try to chmod the folder it gives me the error "not permitted".

Any ideas?

share|improve this question
up vote 1 down vote accepted

Seems like you need more rights to achieve this.

To be able to chmod, try becoming root before doing the call:

sudo chmod <YOUR_CHMOD> /usr/local/lib/cnet 
share|improve this answer
correction: sudo chmod <YOUR_CHMOD> /usr/local/lib/cnet worked for me. update your answer and I'll check your answer as accepted. – Alexander Suraphel Feb 3 '11 at 13:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.