[dokuwiki] Re: dmode permissions and 2006-09-28 rc1
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 06 Oct 2006 01:00:37 +0100
Reinhold Kainhofer wrote:
Am Donnerstag, 5. Oktober 2006 23:34 schrieb Chris Smith:You are right, chmod the linux command interprets the parameter as octal
- although it doesn't require four digits, it automatically assumes
However ... as is pointed out in the documentation the dokuwiki
config file is php, and php needs the starting zero to know the number
is octal, which I think explains the confusion here.
Back to the OP original point -- the correct number will be 04770 (or
possibly 02770 as I believe he wants to set SGID not SUID).
Maybe I am missing something here.
Directory permissions are traditionally expressed in octal, hence the
Nope, the starting zero does not come from the fact that the number is octal,
but from the fact that the first three bits are not set in many cases!
"... The file is a piece of PHP code, so PHP syntax has to be preserved.
 http://www.php.net/manual/en/function.chmod.php &
DokuWiki mailing list - more info at
Other related posts: