Skip to content
Snippets Groups Projects
  1. Mar 04, 2006
    • Andreas Gohr's avatar
      simplified file permission handling · 1ca31cfe
      Andreas Gohr authored
      This patch simpliefies the configuration of the file and directory creation
      modes. There is no need to set the umask anymore. Only the wanted permissions
      for files and directories are set. An init function compares the wanted modes
      with the ones that would be choosen by the system automatically (consulting
      the system's umask) and sets the modes for chmod when needed.
      
      darcs-hash:20060304154038-7ad00-5ef1db3a87e42563a602f9d050c681d2ea74682f.gz
      1ca31cfe
  2. Feb 24, 2006
    • Troels Liebe Bentsen's avatar
      Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct... · 44881d27
      Troels Liebe Bentsen authored
      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
      44881d27
  3. Feb 18, 2006
  4. Oct 22, 2005
  5. Oct 15, 2005
  6. Aug 07, 2005
    • Harry Fuecks's avatar
      command line utilities for DokuWiki · 1caeb00a
      Harry Fuecks authored
      This patch adds a command line tool which should help people modify
      wiki pages on the command line.
      
      Usage would be something like;
      
      $ ./dokuwiki/bin/dwpage.php checkout wiki:syntax > /home/harryf/syntax.txt
      $ vi syntax.txt
      $ ./dokuwiki/bin/dwpage.php -m "Document new syntax" commit syntax.txt wiki:syntax
      
      The second script outputs a list of wiki ids, seperated by newlines.
      The idea would be it get's run by a cron job at regular intervals and
      has it's results piped to a text file.
      
      darcs-hash:20050807201309-56ad0-7c2dbb2b14f794efad1b9875f4dd0c6a15f6df3f.gz
      1caeb00a
Loading