[dokuwiki] Re: File permissions keep changing

  • From: Luke Howson <mail@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 30 Jun 2007 17:51:20 +1000

Tony Steward wrote:
Sorry I have absolutely no idea what dmode & fmode even is yet alone where
to find or set them.
I really need to be led by the hand and told what to do.

Thanks
Go to Admin, Configuration manager. Under Basic settings there will be Directory creation mode. Set this to 0755. Set File creation mode to 0644 and you should be right.

These are octal numbers that correspond to unix file permissions. Ie in 0755, the 7 stands for the permissions of the user, the 5 for the group and the (other) 5 for others. You add up each component of the permission you want to grant. Read is 4, write is 2 and execute is 1. So 7 = 4+2+1, and you are giving Read/write/execute rights. 5=4+1, so you are giving read and execute rights, etc.

You can get further details from a unix filesystem tutorial.

Regards,

Luke
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: