Last modified: 2010-05-15 15:56:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6295 - Add option for Images upload directory permissions
Add option for Images upload directory permissions
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
PC Solaris
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2006-06-13 15:25 UTC by Brian Brazil
Modified: 2010-05-15 15:56 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Brian Brazil 2006-06-13 15:25:30 UTC
In a non-shared hosting enviroment with suphp and where there's 500+ shell
accounts, 777 directories for images are an unnessecary security risk. This
patch ( ) adds
a new configuration variable $wgUploadPermissions which lets you control this.
Default is 777 to preserve current semantics. 

I suggest 755 for those in a suphp type enviroment such as ours. Tested on
Mediawiki 1.6.7 on apache 2.0.58/php 4.4.1/Solaris 8/sparc.
Comment 1 Chad H. 2008-07-17 12:38:06 UTC
Fixed in r37756

Note You need to log in before you can comment on or make changes to this bug.