DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

config:dmode

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 63.158.132.10