It's better when it's simple

User Tools

Site Tools


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 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 fmode) to a more secure setting.

See also

config/dmode.txt · Last modified: 2017-01-11 00:30 by

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