gluster mounted volumes not following group permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A simple test would be to grant group write permissions on the temp file and edit the original file with user2 again.

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Gally, Jerry
Sent: Tuesday, April 19, 2011 3:30 PM
To: Whit Blauvelt
Cc: gluster-users at gluster.org
Subject: Re: gluster mounted volumes not following group permissions

Like I said, I'm no gluster expert, nor do I claim any nfs wisdom, so I might just as well be wrong.

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Whit Blauvelt
Sent: Tuesday, April 19, 2011 3:12 PM
To: Gally, Jerry
Cc: gluster-users at gluster.org
Subject: Re: gluster mounted volumes not following group permissions

Jerry,

You might well be right. But why would the nfs requirement be different from
the shared-file-on-local-storage requirement here? The file's perms are 664.
So every group member should be able to write to it - and can on local
storage. But they can't on gluster-via-nfs. Both cases are users sharing
files in a write context.

In any case the docs at
http://gluster.com/community/documentation/index.php/Gluster_3.1_NFS_Guide
say nothing about setting gluster's nfs service for a umask. Doesn't posix
call for consistent behavior here? 664 perms should allow group members to
edit the file no matter how the file system is mounted, shouldn't they? A
umask in my experience is for default perms on file creation. The file here
already exists with other perms. It may well be the case that we don't want
files to be group-editable by default, but we certainly do when the perms
are set for that.

Best,
Whit


On Tue, Apr 19, 2011 at 02:06:50PM -0700, Gally, Jerry wrote:
> I am a gluster newbie, and we don't use nfs with it, but it seems (at
> least to me) that if you have 2 users sharing files in a write context,
> especially where resulting temp file namespace may clash, having their
> umask group write permissions enabled would be a reasonable requirement.
> 
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux