Mounting GlusterFS share under www-data user
Posted
by
Roman Newaza
on Server Fault
See other posts from Server Fault
or by Roman Newaza
Published on 2012-06-26T02:14:57Z
Indexed on
2012/06/26
3:17 UTC
Read the original article
Hit count: 469
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!
© Server Fault or respective owner