Joel Uckelman on Sun, 17 Dec 2006 15:50:56 -0700 (MST)


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

Re: [s-d] Hello!


Thus spake comex:
> 
> 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 );

Oops, I was mistaken about what gets 777: The uploaded files are 644, as
this line ensures. It's the directories created under images/ which are
777.

-- 
J.
_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss