On 01/15/2015 10:43 PM, Heiko Schröter wrote:
Hello, a) do you need to have 'root' rights to request file attributes with "getfattr" on a client mounted gluster file system ? b) was it at any time in history of gluster accesible by non-root users ? (or was there a bug ?) Reason for asking is that i have some users stating that it worked "some days" ago for "normal" users but not now anymore. The gluster version or setup has not been changed, also no changes to the XFS brick file systems. Version 3.2.5 (yep, i know it is old ...) I couldnt find anything about getfattr rights issues in the docs.
# mount localhost:big_dist_rep1 /mnt/ # ls /mnt/ upstream upstream.tgz # stat /mnt/upstream.tgz File: `/mnt/upstream.tgz' Size: 1030758400 Blocks: 2010552 IO Block: 1048576 regular file Device: 1dh/29d Inode: 13061784644348572606 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-08-20 21:08:26.837540779 +0000 Modify: 2014-08-15 04:17:27.000000000 +0000 Change: 2014-08-15 04:37:43.656791859 +0000 # su - fred $ getfattr -d -e hex -m. /mnt/upstream.tgz getfattr: Removing leading '/' from absolute path names # file: mnt/upstream.tgz system.posix_acl_access=0x0200000001000600ffffffff04000400ffffffff080004003000000010000400ffffffff20000400ffffffff $ logout # getfattr -d -e hex -m. /mnt/upstream.tgz getfattr: Removing leading '/' from absolute path names # file: mnt/upstream.tgz system.posix_acl_access=0x0200000001000600ffffffff04000400ffffffff080004003000000010000400ffffffff20000400ffffffff What version are you running and what does "stat" say about the file permissions?
Thks Heiko _______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users
-- Kindest Regards, Brad Hubbard Senior Software Maintenance Engineer Red Hat Global Support Services Asia Pacific Region _______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users