leimeisei Posted October 6, 2008 Share Posted October 6, 2008 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. Quote Link to comment Share on other sites More sharing options...
rochakchauhan Posted October 28, 2008 Share Posted October 28, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.