-
- 241 Posts
Got a strange problem. Even though the folder and file permissions in the gallery settings are set to 777 and auto permission options are enabled, when uploading a new image the file is created with 600 permissions.
This started happening after upgrading to 1.4.8 release. I've tested on 2 different servers (CentOS and Ubuntu). Is anybody else seeing this?
there is a setting inside your module, that's related with these permission.
menu> settings> Permission Options
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 241 Posts
Yes, that's what i was referring to in my initial post. Both settings under "Permission Options" are set to 777 but new images are still getting added with only 'rw' for owner.
hmm...
what else are your server environments?
IIS?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 241 Posts
It's an Ubuntu VPS hosted by webfusion.co.uk using Plesk control panel.
the umask is 0002. the images folder has 777 permissions recursively
just noticed one thing though. the magic quotes are on. can that be the cause?
-
- 241 Posts
I turned the magic quotes off but that did not solve the problem.
So to recap the Easy2Gallery setting are:
Easy2Gallery v 1.4.8
Permissions Options
Enable: On
Folder mode: 0777
File mode: 0777
The server is Ubuntu VPS under Plesk
PHP is running as Fast CGI
umask: 0002
images folder permissions: 777
When a new image is uploaded via Easy2Gallery the file is created with the proper owner and group but the permissions are set to 600
Uploading the same file to the same location using MODx file manager works fine.
I'm really stumped on this one.
would you mind to PM me to your phpinfo(); file ?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 241 Posts
Hi goldsky,
i sent you phpinfo output in a private message. Did you get it?
ah... yes.
I'll look into this.
This forum didn't leave any notification about PMs
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 241 Posts
Yes, i don't get email notifications about the forum replies or pm either.
Please take a look when you have time. I also can give you access to the manager if it'll help.
I'm keen on resolving this quick.
Let me know if you have any other questions, we can skype.
Thanks a lot.