Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Necessary folder permissions
#8
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.
Reply


Messages In This Thread
Necessary folder permissions - by polyfragmented - 2011-04-19, 03:23:37
Necessary folder permissions - by hameau - 2011-04-19, 18:30:12
Necessary folder permissions - by Connie - 2011-04-19, 21:30:30
Necessary folder permissions - by polyfragmented - 2011-04-19, 23:00:32
Necessary folder permissions - by polyfragmented - 2011-04-20, 00:09:23
Necessary folder permissions - by hameau - 2011-04-21, 05:14:09
Necessary folder permissions - by polyfragmented - 2011-04-21, 22:47:11
Necessary folder permissions - by hameau - 2011-04-22, 02:49:30
Necessary folder permissions - by polyfragmented - 2011-04-22, 03:15:56
Necessary folder permissions - by hameau - 2011-04-22, 04:57:18



Users browsing this thread: 1 Guest(s)