Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

1 Answer

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. –  bybe May 10 '13 at 10:25
add comment

Your Answer

 
discard

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.