Actions

Difference between revisions of "How can you avoid using chmod 0777 to enable installs?"

From Joomla! Documentation

(New page: On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up ...)
 
m (clean up categories with <noinclude> tags)
 
(One intermediate revision by one user not shown)
Line 11: Line 11:
 
# chmod the entire web space to 764 or 664 will be possible giving other users write access as well
 
# chmod the entire web space to 764 or 664 will be possible giving other users write access as well
  
[[Category:FAQ]]
+
<noinclude>[[Category:FAQ]]
 
[[Category:Installation FAQ]]
 
[[Category:Installation FAQ]]
 
[[Category:Upgrading and Migrating FAQ]]
 
[[Category:Upgrading and Migrating FAQ]]
 
[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5 FAQ]]
 +
[[Category:Installation]]</noinclude>

Latest revision as of 15:24, 1 September 2012

On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up so that both Apache and FTP have control of site files.

Directions

  1. Edit the Apache user.conf file and tell apache to run under the FTP account.
  2. chmod the entire site to 644 or 744. Apache should be able to run just fine that way.

Optional

  1. chgrp the entire web space to the FTP group so that only those with FTP access can write to the server.
  2. chmod the entire web space to 764 or 664 will be possible giving other users write access as well