DokuWiki

It's better when it's simple

User Tools

Site Tools


install:permissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:permissions [2017-11-19 13:31]
2a03:f85:8::7 removed
install:permissions [2020-06-20 22:07] (current)
mi.dwikif@alma.ch [Tip: Using the setgid Bit] corrected "chmod -R 775", which makes all files executable!
Line 11: Line 11:
   * ''lib/tpl'' directory must be writable for the webprocess to install templates   * ''lib/tpl'' directory must be writable for the webprocess to install templates
  
-The following files are copied by the installer.php from the respective *.dist files and given the correct permissions for the web process automatically:+The following files are copied by the ''install.php'' from the respective *.dist files and given the correct permissions for the web process automatically:
   * ''conf/'' directory, following files must be writable by the web process:    * ''conf/'' directory, following files must be writable by the web process: 
      * ''local.php'' (and ''local.php.bak'') for the [[:installer]] and for subsequent web configuration to work.      * ''local.php'' (and ''local.php.bak'') for the [[:installer]] and for subsequent web configuration to work.
Line 141: Line 141:
  
   * data directory:   * data directory:
-    * ''yourwiki> chmod -R 775 data/''+    * ''yourwiki> chmod -R g=rwX,u=rwX,o=rX data/''
     * ''yourwiki> chown -R www-data:foo data/''     * ''yourwiki> chown -R www-data:foo data/''
   * everything below the data directory:   * everything below the data directory:
install/permissions.1511094710.txt.gz ยท Last modified: 2017-11-19 13:31 by 2a03:f85:8::7