Jump to content

Archived

This topic is now archived and is closed to further replies.

leimeisei

Everything doesn't have write permissions

Recommended Posts

Hi all,

 

I've set up quite a few linux (more specifically Fedora) PHP/MySQL/Apache servers, but never had this problem before.

 

Whenever I set up most PHP applications, like Joomla, Drupal, and SMF, I am prompted to make certain directories writeable. So I do an ssh into my server using the root user, and do chmod 777 [filenames/directories here]. However, it doesn't work on this particular server. On my other servers, doing the chmod 777 does the trick, but on this one, i'll just refresh, and the PHP app still complains about not having write permissions. I tried restarting httpd and everything, still doesn't work.

When I do ls -la on my smf directory, all the directories/files I want to have writeable by PHP have permissions rwxrwxrwx so those are obviously okay, and they are all owned by root, of course I don't think owner matters because the third 7 in the octet should specify that it is writeable by everyone.

 

Does anyone know what is causing this? If anyone needs more info, I can give it.

Share this post


Link to post
Share on other sites

Well I guess the issue is with the FTP user.

 

If you have root/super user access, change the owner of the directories to the FTP USER.

 

chmod FTP_USER.FTP_USER Dir_Name /R

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.