Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 have a site with loads of directories. They all work fine but one. I can read from this directory but I cannot delete files from within it or upload files to it. I cannot change its permissions either, though I can do this with literally every other directory on the server.

Does anyone know how I can fix this or what could be causing it?

share|improve this question
up vote 1 down vote accepted

Sounds like the directory is not within the same user group as the ftp user and www-data account, more than likely its set as owner root.

You need to login via ssh and do a chown www-data:www-data /full/path/to/the/directory if you don't have ssh access ask your webhost.

share|improve this answer
Thanks! hmm is there anyway to change the files owner via cPanel or File Manager? My command lines not very strong... – MeltingDog May 10 '13 at 1:49
It can't be done in Cpanels file manager and the only way I think you can do it is via ssh. – Simon Hayter May 10 '13 at 10:25

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.