[pmwiki-users] Files rewritten at world-writable

Daphne Tregear daf at cs.man.ac.uk
Mon Jul 18 10:22:46 CDT 2005


I'm sure this must be an FAQ, if only I could find it...

I have set up my pmwiki directory as per the instructions in
PmWiki/FilePermissions:

drwxrwsr-x   3 nobody   nogroup      512 Jul 17 15:28 uploads
drwxrwsr-x   2 nobody   nogroup     1024 Jul 18 16:15 wiki.d

nobody and nogroup being the user and group Apache runs under. I note
the umask(002); in pmwiki.php. I remove all the world write
permissions from the files in wiki.d and then edit a file via
pmwiki. That file, and other files describing recent changes, are
rewritten with world write permission again. Why? Where is it being
set? The files don't need world write permission for pmwiki to work,
surely? 

Thanks for any help.

-- 
Daf Tregear				School of Computer Science
Systems Manager				University of Manchester
E-mail: daphne.tregear at manchester.ac.uk	Oxford Road
Tel: +44 (0)161 275 6227 		Manchester
Fax: +44 (0)161 275 6236 		United Kingdom      M13 9PL





More information about the pmwiki-users mailing list