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 revisionPrevious revision
Next revision
Previous revision
install:permissions [2020-06-20 22:07] – [Tip: Using the setgid Bit] corrected "chmod -R 775", which makes all files executable! mi.dwikif@alma.chinstall:permissions [2024-12-12 13:50] (current) – [How do I make specific pages in the wiki read-only?] andi
Line 6: Line 6:
  
 The following permissions must be modified for the respective DokuWiki functions to work: The following permissions must be modified for the respective DokuWiki functions to work:
-  * ''data/'' and ''data/tmp/'' directory: All files in and below these directories must be writable by the web process for DokuWiki to work.+ 
 +  * ''data/'' directory: All files and directories below must be writable by the web process for DokuWiki to work.
   * ''lib/plugins/'' directory: This directory must be writable by the web process for the [[plugin:extension|Extension Manager]] to work   * ''lib/plugins/'' directory: This directory must be writable by the web process for the [[plugin:extension|Extension Manager]] to work
-  * ''lib/'' directory: This directory must be readable by the public for style sheets to display. 755 works fine.+  * ''lib/'' directory: This directory must be readable by the public for style sheets to display. 
   * ''lib/tpl'' directory must be writable for the webprocess to install templates   * ''lib/tpl'' directory must be writable for the webprocess to install templates
 +  * ''conf/'' directory: generally it's easiest to make this fully writable by the web process. You can follow the details below for a more fine-grained approach.
 +
  
 The following files are copied by the ''install.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 19: Line 23:
 ===== Windows (using Microsoft IIS) ===== ===== Windows (using Microsoft IIS) =====
  
-To make the files in the ''data'' and ''conf'' directory writable you need to give "Write" access to the +To make the files in the ''data'' and ''conf'' directory writable you need to give "Modify" access to the 
-Internet Guest Account (''IUSR_//computername//'') or the appropriate web server group (like ''IIS_WPG''). This is done through the right-click context menu on folders and files choosing "Properties" and selecting the "security" tab.+Internet Guest Account (''IUSR'') or the appropriate web server group (like ''IIS_WPG''). This is done through the right-click context menu on folders and files choosing "Properties" and selecting the "security" tab.
  
 A good description with screenshots is available [[http://www.enewsletterpro.com/support/permissions.asp|here]]. A good description with screenshots is available [[http://www.enewsletterpro.com/support/permissions.asp|here]].
Line 74: Line 78:
     $group = $grp['name'];     $group = $grp['name'];
 }else{ }else{
-    // try to create a file and read it'ids+    // try to create a file and read its ids
     $tmp = tempnam ('/tmp', 'check');     $tmp = tempnam ('/tmp', 'check');
     $uid = fileowner($tmp);     $uid = fileowner($tmp);
Line 150: Line 154:
  
  
-===== How do I make specific pages in the wiki read-only? =====+===== See also =====
  
-See [[faq:pageprotect|this FAQ entry]].+  * [[:security|Security]] 
 +  * [[faq:pageprotect|How do I make specific pages in the wiki read-only?]]
  
  
install/permissions.1592683671.txt.gz · Last modified: by mi.dwikif@alma.ch

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki