[pmwiki-users] umask'ing wiki.d

Patrick R. Michaud pmichaud at pobox.com
Sun Jan 30 11:15:27 CST 2005


On Mon, Jan 31, 2005 at 04:53:16AM +1300, Robin wrote:
> On Monday 31 January 2005 04:40, Patrick R. Michaud wrote:
> > What are the current ownerships and permissions on your wiki.d/ and
> > the files in wiki.d/ ?  That will tell me a lot about how it's set up.
>
> Currently they're coming out as:
> -rw-rw-rw-  1 www-data www-data  64K Jan 31 04:51 Main.WikiSandbox (!)
> wiki.d is:
> drwsrwsr-x  2 www-data www-data 27752 Jan 31 04:51 wiki.d

I forgot -- what's the ownership/permissions on the pmwiki directory
itself (i.e., the directory containing wiki.d/)?

PmWiki is likely trying to preserve your ability to access 
(i.e., remove/rename) the files in wiki.d/ .  If the files receive 
0640 permissions, you wouldn't be able to access or remove them 
unless you're logging in as www-data.

But I could be wrong about this.  Those "s" permissions on wiki.d/
look a little funny to me; PmWiki likes it when wiki.d is rwxrwsr-x,
but I'm not too sure about that first 's' or how it got there.

Pm



More information about the pmwiki-users mailing list