Default file permissions of 0640 instead of 0644

Can someone tell me why new .mp3 uploaded files are being saved to new albums with permissions of 0640 (rw-r) instead of 0644? I looked at https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/ but don't understand how that helps in this situation. I checked permissions of /zp-core and they are 0644 for files, but I don't understand how ZenPhoto knows to set to 0644 based on /zp-core file permissions. I'm also not sure where in setup it allows me to change the default permissions. Do I need to mess with ACLs and masks or something? I have another installation of ZenPhoto on the same server that works as expected. I know I can upload via FTP but I'd like to have this working with ZenPhoto's upload process for ease of use. Any help will be appreciated.

Tags:

Comments

Sign In or Register to comment.