Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct...
Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct permissions, this should also fix problems with dokuwiki making setuid files on some umasks. * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly. * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense. * Use chmod for setting the correct permissions but only if it's needed. * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway. darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
Showing
- bin/indexer.php 2 additions, 3 deletionsbin/indexer.php
- conf/dokuwiki.php 3 additions, 3 deletionsconf/dokuwiki.php
- doku.php 0 additions, 3 deletionsdoku.php
- inc/common.php 0 additions, 2 deletionsinc/common.php
- inc/init.php 30 additions, 4 deletionsinc/init.php
- inc/io.php 9 additions, 9 deletionsinc/io.php
- lib/exe/detail.php 0 additions, 3 deletionslib/exe/detail.php
- lib/exe/indexer.php 1 addition, 0 deletionslib/exe/indexer.php
- lib/exe/media.php 1 addition, 6 deletionslib/exe/media.php
- lib/plugins/plugin/admin.php 0 additions, 1 deletionlib/plugins/plugin/admin.php
Loading
Please register or sign in to comment