Last modified: 2010-05-15 15:29:17 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 T2557, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 557 - images dir permissions errno=13
images dir permissions errno=13
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.3.x
PC FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links