Jump to content

Everything doesn't have write permissions


leimeisei

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.

Link to comment
Share on other sites

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.