[pmwiki-users] umask'ing wiki.d

Robin robin at kallisti.net.nz
Sun Jan 30 19:13:51 CST 2005


On Monday 31 January 2005 06:15, Patrick R. Michaud wrote:
> I forgot -- what's the ownership/permissions on the pmwiki directory
> itself (i.e., the directory containing wiki.d/)?
drwxr-xr-x   8 www-data www-data     352 Jan 14 16:42 wiki

> 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.
That's fine, that's what the magical sudo command is for :)

> 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.
OK. s(u|g)id bits on directories is something I don't fully understand the 
workings of. I'll set it to what you suggest, and see how that goes.

...not so good:
-rw-rw-rw-  1 www-data www-data 65523 Jan 31 14:11 Main.WikiSandbox

drwxrwsr-x  2 www-data www-data 27752 Jan 31 14:11 ../wiki.d

-- 
Robin <robin at kallisti.net.nz>             JabberID: <eythian at jabber.org>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20050131/70d0d151/attachment.bin 


More information about the pmwiki-users mailing list