Last modified: 2010-05-15 15:28:23 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 733 - config/index.php does not detect full disk (fwrite result not checked)
config/index.php does not detect full disk (fwrite result not checked)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.3.x
All All
: Low normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
http://www.php.net/manual/en/function...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-17 08:47 UTC by Zigger
Modified: 2010-05-15 15:28 UTC (History)
1 user (show)

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


Attachments

Description Zigger 2004-10-17 08:47:09 UTC
config/index.php does not detect a full disk, as the fwrite() result is not checked.
Comment 1 Brion Vibber 2004-10-17 08:58:00 UTC
If you have a full disk, a lot more than this will probably fail...
Comment 2 Zigger 2004-10-17 14:38:49 UTC
I agree with Brion's comment, which is one of the reasons I marked this as low
priority.  But:

1. this is "probably" the only direct write to the mediawiki folder/directory
tree.  Databases and image uploads and /tmp could well be on separate
file-systems (and have related writes that could use error-checking).

2. it is better to detect and report a full/restricted file-system early and
descriptively.  Config is an early and descriptive process.
Comment 3 Antoine "hashar" Musso (WMF) 2004-11-13 19:42:21 UTC
Probably fixed in cvs. Dieing if fwrite() return false.
Comment 4 Zigger 2004-12-16 22:53:09 UTC
The fix was first released with v1.4beta1.

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


Navigation
Links