[pmwiki-users] Uploaded files world readable!?

Oliver Betz list_ob at gmx.net
Wed Dec 26 13:21:56 CST 2012


Hello all,

upload.php uses "fixperms($filepath,0444);", therefore uploaded files
get world read access, correct?

Why is this needed?

BTW: There is no "fixperms" for "Mini" thumbnails.

I'm running PmWiki an a shared hosting environment where PHP and the
web server (and the FTP server) use the same user ID. As far as I see,
fixperms without "add" wouldn't add any bits, correct?

Oliver
-- 
Oliver Betz, Muenchen (oliverbetz.de)




More information about the pmwiki-users mailing list