comex on Sun, 17 Dec 2006 15:41:01 -0700 (MST)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [s-d] Hello!

On Sunday 17 December 2006 5:30, Joel Uckelman wrote:
> Now that file upload is enabled, can someone tell me how to get MediaWiki
> to write uploaded files so they're not world-writable? MediaWiki is
> creting uploaded files with permissions 777, and I don't see a way to
> set the umask.
If it helps, on line 503 of includes/SpecialUpload.php:
                chmod( $this->mSavedFile, 0644 );

Attachment: pgpfJctF00DMw.pgp
Description: PGP signature

spoon-discuss mailing list