Stephen wrote regarding '[SLE] apache2, gallery, and permissions' on Fri, Nov 12 at 21:34:
I'm running the excellent gallery software (http://gallery.menalto.com/index.php) on my server. It serves up photo albums.
I'm curious about a FAQ entry from their site. They recommend setting a directory in the httpd root to 777. Is this a good idea?
I usually 'chown dsauer:wwwrun /that/dir' then make it 770. The web server has to write to it, and sometimes I want to change things, so I make myself and the web server's group owners. The only directory on a system that should be 777 is /tmp, IMHO. Otherwise, there's almost never a reason to give "other" write access. Almost. --Danny, who wishes the schema for gallery 2.0 would friggin' stabilize, already :)