![]() |
|
directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 (/thread-12012.html) |
directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - racooper - 2015-01-16 I'm trying to get ZenPhoto 1.4.6 set up on a CentOS server. I've resolved several other issues but this one keeps coming up: a list of directories that setup claims are not writable but are set with 777 permissions. albums,cache,cache-html,plugins,uploaded,zp-data The exact error from setup is: Change the permissions on the albums folder to be writable by the server (chmod 777 albums) directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - acrylian - 2015-01-17 Did you review this already?: http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders You really should not need to set 777 as permissions anywhere. directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - racooper - 2015-01-20 I have been over that and several other documents/forum posts about permissions. the 777 was a last ditch attempt to make it work. Turns out it was an SELinux issue. I've gotten it resolved. It might be a good idea to put something on the permissions page about checking selinux on some systems. directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - acrylian - 2015-01-20 Ok, thanks for the heads up. We gladly add something to the article. I had never heard of that SELinux before but I am no server expert. Can you provide more info what to check specifially? Then we gladly add something to the article. directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - racooper - 2015-01-20 SELinux can be set by booleans to allow apache to serve files from a user's home directory (/home/user/public_html generally). However, the security context assigned to ~/public_html does not allow writing. To do so you have to reassign the context to httpd_sys_rw_content_t for each directory that needs write access (albums, cache, etc). When I go to set this up on our production server, I'll create a more detailed document for how to set everything up on CentOS 6. directory permissions in setup on CentOS 6 with ZenPhoto 1.4.6 - acrylian - 2015-01-20 Ok, thanks. |