Last modified: 2010-05-15 15:29:17 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 557 - images dir permissions errno=13
images dir permissions errno=13
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-09-22 09:21 UTC by Tomcat
Modified: 2010-05-15 15:29 UTC (History)
0 users

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


Description Tomcat 2004-09-22 09:21:19 UTC
I think I got a variant of bug 85 when I changed the permissions on my images
dir, (just the root dir, not the subdirs) and was getting errno=13 permissions
errors on the pages with images in my site. Simply going into the desc page of
an image and saving it seemed to fix it.. once. Or perhaps there's a mechanism
that reloads the image index? The following errors are repeated for every image
on every page that has images on my wiki. I am finding I need to set my images
dir '777' or I get this error. (Or perhaps I'm franticaly setting permissions
back to 777 and the wiki updates the internally so the images show up after a
while and this is a coincidence...)

Warning: is_dir(): Stat failed for /home/actionho/public_html/wiki/images/thumb
(errno=13 - Permission denied) in
/home/actionho/public_html/wiki/includes/GlobalFunctions.php on line 495

Warning: is_dir(): Stat failed for
/home/actionho/public_html/wiki/images/thumb/c (errno=13 - Permission denied) in
/home/actionho/public_html/wiki/includes/GlobalFunctions.php on line 497

Warning: is_dir(): Stat failed for
/home/actionho/public_html/wiki/images/thumb/c/ce (errno=13 - Permission denied)
in /home/actionho/public_html/wiki/includes/GlobalFunctions.php on line 499
Comment 1 Brion Vibber 2004-09-22 10:00:09 UTC
Doesn't sound related to bug 85 at all -- that's an issue with the link tables not having been updated in the 
database and has no relation to the filesystem.

You say you changed the permissions on the images dir; what did you change the permissions _to_?
Comment 2 Tomcat 2004-09-22 22:16:33 UTC
I had my permissions set on teh images dir set to 777, which is... unwise, so
changed them to 755 and got the error. And then 766, 776 and finally 777 again.
Er, I think. Editing a desription of an image seemed to fix all the images. I
chg'd perms again and got the same error, and was able to fix it again after a
few minutes. 

I'll try to replicate this tonight when I get home. (and much more carefully
this time, promise.)
Comment 3 JeLuF 2004-11-13 15:25:29 UTC
Pending for user input for over 6 weeks. => Closed.
Reopen if you can provide further details.

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