file permissions problem

jholcomb
jholcomb's picture

Joined: 2005-05-18
Posts: 10
Posted: Wed, 2005-05-18 21:56

Using G2B2, using the default file/dir permissions (644/755) respectively. All of the files uploaded into albums using the java applet tool sets the file permissions to 'nobody' 600 instead of 644. Anyone experiencing this problem? The import from G1 went well (those permissions are all 644).

There is one single video I have uploaded (32Megs) that has 644, but I believe it is because I used the Local Server upload option rather than the Java applet. I have never changed the permissions in G2 admin from their default settings.

I can't seem to read these new G2 files outside of G2 (e.g. to archive them). How can I fix this?
----

Gallery URL (optional): jamesholcomb.info/modules/gallery2
Gallery version: G2 beta 2
Webserver (with version):latest
Datatabase (with version): 4.0.23
PHP version (eg 4.2.1): 4.2.1
phpinfo URL (optional):
Graphics Toolkit(s): all inc w/ G2
Operating system: GNU/Linux
Web browser/version: IE6
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-05-18 22:47

This is a known bug... file permissions selected in Site Admin are not currently enforced.
http://sourceforge.net/tracker/index.php?func=detail&aid=1189446&group_id=7130&atid=107130

You can write you own php script to chmod the files so you can read them.