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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8295, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6295 - Add option for Images upload directory permissions
Add option for Images upload directory permissions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.6.x
PC Solaris
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.netsoc.tcd.ie/~bbrazil/tmp...
: patch
Depends on:
Blocks:
  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: ---


Attachments

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 ( http://www.netsoc.tcd.ie/~bbrazil/tmp/mediawiki-permissions.diff ) 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.


Navigation
Links