Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I am trying to set the upload permissions on a local folder in my test website.

I'm using Terminal on a Mac and the following command:

chmod 777 thumbs

but I get the following error

chmod: thumbs: No such file or directory

I'm really not all that sure about using Terminal so sorry if I'm not being clear - I'm trying to set up a PHP site locally on my Mac.

share|improve this question

migrated from May 18 '11 at 14:49

This question came from our site for professional and enthusiast programmers.

up vote 10 down vote accepted

you have to be in the directory that contains thumbs. Do an


to see whats in your current directory. You can also do a


to see where on the filesystem you are. typically when you log in you are in


the thumb directory is not there.

share|improve this answer
chmod 777 Sites/tom/upload/thumbs did the trick. thanks – Tom May 18 '11 at 14:42
@tom, np, dont forget to use -R in case thumbs has subdirectories, unless you don't want to change the permissions on subdirs. – hvgotcodes May 18 '11 at 14:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .