Mounting GlusterFS share under www-data user
- by Roman Newaza
Problem: After directory is auto-mounted, Web Server has no write permissions to it.
Question: How to auto-mount GlusterFS endpoint via /etc/fstab so that mount point belongs to www-data after it's mounted?
For now, the mount point belongs to www-data, but after mounting it turns to root.
# /etc/fstab
foo.com:/st /st glusterfs defaults 0 0
Seams like I cannot define user / group as mount options for GlusterFS, at least I don't see it when man glusterfs.
Thanks!