2011-04-22, 02:49:30
polyfragmented Wrote:You're right, using 777 should be avoided, yet GS' install routine suggests it for /backup/ and /data/ if the needed folders aren't writable. Have you CHMODed those folders differently?I do have an issue with suggesting permissions of 0777, but there isn't a single solution for everyone, of course.
On my hosting service (ovh.com) I followed their guide and set folders to 0705, files to 0644 and everything works as expected, including data and backups, reading writing and deleting, editing theme files, all from the admin backend.
Would you like a referrer code ? :roflol: Just kidding, sorry, I couldn't resist.
All the files that I uploaded appear with uid of my account and the gid is 'users'. Files that GS generates (e.g., site archives for testing) also have the same uid and gid. The webserver processes are apparently running as my user id, so everything Just Works. (This has also been my experience with other software running on this host, so I'm just confirming my expectations.)
One interesting point, the GS admin website healthcheck is full of errors, as it doesn't consider folder permissions of 0705 as being writeable! Of course, they are writeable to the owner.
--
Nick.
Nick.