DokuWiki

It's better when it's simple

User Tools

Site Tools


config:dmode

Differences

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

Link to this comparison view

Next revision
Previous revision
config:dmode [2008-08-09 12:15] – moved from monolithic config andiconfig:dmode [2017-01-11 00:30] (current) – [Configuration Setting: dmode] 63.158.132.10
Line 1: Line 1:
 +====== Configuration Setting: dmode ======
  
 +This option sets the permissions you want your directories to be created with. What you set here is the mode to set on your directories in octal (not a string, but a number always starting with 0). The default creates directories with UNIX permissions of ''0755'' (''rwxr-xr-x'')
 +
 +  * Type: Number
 +  * Default: ''0755''
 +
 +This setting has no effect on Windows servers.
 +
 +Note that the default allows "world" read access to your data directories.  The implication is that any user with interactive access to the same server you are running DokuWiki on will (probably) be able to read your data if you choose the default setting.  DokuWiki has an extensive set of access control lists, but this only applies in the context of the DokuWiki application itself.  If other users have the ability to log into the server running DokuWiki and you choose the defaults, then the information in your Wiki will likely be readable by those users.  
 +
 +In order to set the ''setgid'' bit, change this value something like ''02775'' (''rwxrwsr-x'') or similar.
 +
 +Be sure to read the information on [[install:Permissions]], and if you are worried about the security of your Wiki information for other users of your web server, you will probably want to change this default (and [[config:fmode]]) to a more secure setting.
 +
 +===== See also =====
 +
 +  * [[:config:|Configuring DokuWiki]]
 +  * [[config:fmode]]
 +  * [[install:Permissions]]
 +  * [[:Security]]

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