just got this from hostgator hope you can help: Hello Bob,
I've looked into this issue thoroughly and found that the directories that are being created by the application are being created with the wrong permissions.
--------------------------------------------------------------------------------
d-wx--x--x 2 neenah neenah 4096 Nov 11 14:31 wc-2252-in-wc-paint/
--------------------------------------------------------------------------------
[root@gator3266 /home3/neenah/public_html/zenphoto/albums/wc-motive-power/wc-2251-2253 series-gp30-s]# stat wc-2252-in-wc-paint/
File: `wc-2252-in-wc-paint/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 821h/2081d Inode: 89523018 Links: 2
Access: (0311/d-wx--x--x) Uid: (32292/ neenah) Gid: (32294/ neenah)
Access: 2013-11-11 14:01:55.782993360 -0600
Modify: 2013-11-11 14:31:04.461267175 -0600
Change: 2013-11-11 14:31:04.461267175 -0600
--------------------------------------------------------------------------------
The permissions being used to create these directories is 311 which does not include read permissions for anyone. They need to be set to 755 to work properly. I've reviewed the configuration of this application and I am not able to find where to configure the permissions being used.
However, I did find that in the file "/home3/neenah/public_html/zenphoto/zp-core/functions-basic.php" it appears to define them.
--------------------------------------------------------------------------------
define('FOLDER_MOD', CHMOD_VALUE | 0311);
define('FILE_MOD', CHMOD_VALUE & 0666);
--------------------------------------------------------------------------------
For a permanent solution to this issue I recommend contacting the developer of this application to find out how to change this the correct way. If one can not be found then we can always try changing the values defined in the functions-basic.php file.
If you have any further questions or need additional assistance, please let us know.
Thanks and have a great day!
John P.
Linux Systems Administrator
HostGator, LLC
https://support.hostgator.com/