This isn't so much a mediawiki question as a system admin question. But the first question is, why do you consider the permissions inadequate? The only difference is that some of the files are executable - which is unnecessary for image files.
It's possible to change the default permissions for a file any user creates with the umask command but, again, from the data given, there is no reason to believe there is actually a problem with the permissions.
--- On Thu, 6/19/08, Matthias Korn matsch@rockinchina.com wrote: From: Matthias Korn matsch@rockinchina.com Subject: Re: [Mediawiki-l] Problems with thumbnails To: mediawiki-l@lists.wikimedia.org Date: Thursday, June 19, 2008, 11:49 AM
Hi,
Am Wed, 18 Jun 2008 23:11:45 +0200 schrieb Matthias Korn matsch@rockinchina.com:
Also, new images seem to get other permissions: //--------------------- /var/www/wiki/images/thumb$ ls -lisa 205 4 drwx------ 1 993 993 4096 18. Jun 22:48 Overdose.jpg [new] 1735 4 drwxr-xr-x 1 993 993 4096 22. Mar 15:28 Overload_1.JPG [old] /var/www/wiki/images$ ls -lisa 1898 292 -rw-r--r-- 1 993 993 296817 18. Jun 00:06 Overdose.jpg [new] 2750 24 -rwxr-xr-x 1 993 993 23826 21. Mar 01:10 Overload_1.JPG [old] //---------------------
How is it, that MediaWiki specifies the wrong permissions? Where can I control it? What is the cause?
Changing the permissions for the individual files and directory helps. But MediaWiki creates every new thumb with insufficient permissions.
Any pointers? Matthias