Closed (cannot reproduce)
Project:
Album Photos
Version:
6.x-2.0-beta6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2008 at 10:38 UTC
Updated:
4 Jan 2013 at 19:01 UTC
Hi,
I just updatet my module from album photos 6.x-1.2-rc3 to 6.x-2.0-beta6.
Now i got the problem that new uploaded pictures (without the SWFUpload and with it) has the chmod 600. I can download them (via FTP) and they are correctly displayed. But when I try to open them in a browser (direktly or via drupal) it just says I have no athority to do that (drupal gallerys just stays empty). Thats no surprise...
When I change the chmod to 755 it shows everything exactly like it should. But I have to do it all manually.
Comments
Comment #1
gefundener commentedComment #2
eastcn commentedThis is not a code problem.
Perhaps your php in safe mode operation. Please check the server permissions settings.
Comment #3
gefundener commentedI didn't change anything on my server since I uploaded the page. And the safemode is off. Just tested it.
But thats not the problem! It used to work pretty fine before i updated to the new version (6.x-2.0-beta6).
I think I found the problem... The ownership of the files just changed. All files that work pretty well have the ownership of "www-data" (the browser). The new files I uploaded has the ownership of my ftp-account. That shouldn't be like that, because then only the owner (the ftp-account) can view and change them. But to look at them via Webbrowser it should be the owner "www-data"
And to avoid the question: No, I didn'd made any changes on the Data on the server. I just updated the photos module.
Comment #4
SuperSlon commentedI had the same problem. Only in album photo module pictures uplaoded with wrong chmod 600. All other files that I upload form other modules (IMCE for exaple) load with right chmod. How to fix problem?
Comment #5
SuperSlon commentedOn most web hosting providers script which upload files run with safe mode permission (chmod 600). So it create wiles with this 600 chmod. Look for IMCE module. After download file it automatic change the chmod to 644.
I think the developer of Album Photos must add this stuff in module.
Comment #6
nathaniel commentedNew maintainer, cleaning up old issues in issue queue.
Please re open if this is still a problem.