[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Bug with group permissions
From: |
Raghavendra G |
Subject: |
Re: [Gluster-devel] Bug with group permissions |
Date: |
Mon, 5 Nov 2007 10:08:23 +0400 |
Hi Geoff,
I tried to reproduce your problem with glusterfs--mainline--2.5--patch-545,
but without success. Can you send your client/server logs and configuration
files? Also what is the fuse version you are using?
regards,
On Nov 4, 2007 4:39 PM, Geoff Kassel <address@hidden> wrote:
> Hi all,
> I've think I've found a group permissions bug in the latest patches
> committed to the repository. The bug causes permission denied errors for
> non-root users where they should have adequate access.
>
> The following set of commands under a glusterfs mount reproduces the bug
> for
> me:
>
> groupmems -a nonrootuser -g randomgroup
> cd /glusterfsmountpoint
> mkdir test
> chown root:randomgroup test
> chmod 770 test
> su - nonrootuser
> cd /glusterfsmountpoint/test # Succeeds
> ls # Permission denied error.
> echo "Hello" > testfile # Also gives a permission denied error.
>
> To get a successful ls under the non-root user, permissions need to be 775
> in
> the test directory. To get a successful file creation, it needs to be 777.
>
> I have noticed that on the initial cd as the non-root user, there seems to
> be
> the following in the client logs (I'm using AFR/Unify):
>
> 2007-11-04 22:36:25 E [afr.c:5654:afr_closedir] shared-namespace-afr:
> afrfdp
> is NULL, returning EBADFD
> 2007-11-04 22:36:25 E [afr.c:5654:afr_closedir] shared-dataspace-afr:
> afrfdp
> is NULL, returning EBADFD
> 2007-11-04 22:36:25 E [fuse-bridge.c:654:fuse_fd_cbk] glusterfs-fuse:
> 1322194: /test => -1 (13)
>
> This bug doesn't cause the server or client to crash. (I have noticed a
> lot
> of 'E [unify.c:145:unify_buf_cbk] shared: shared-namespace-afr returned
> 107'
> and random server crashes in general lately, but this appears unrelated.)
>
> I can provide logs as well as client and server spec files on request.
>
> Kind regards,
>
> Geoff Kassel.
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
Raghavendra G
A centipede was happy quite, until a toad in fun,
Said, "Prey, which leg comes after which?",
This raised his doubts to such a pitch,
He fell flat into the ditch,
Not knowing how to run.
-Anonymous
- [Gluster-devel] Booster documentation, Vikas Gorur, 2007/11/01
- Re: [Gluster-devel] Booster documentation, Daniel van Ham Colchete, 2007/11/01
- Re: [Gluster-devel] Booster documentation, Anand Avati, 2007/11/02
- Re: [Gluster-devel] Booster documentation, Anand Avati, 2007/11/02
- Re: [Gluster-devel] Booster documentation, Daniel van Ham Colchete, 2007/11/03
- [Gluster-devel] Bug with group permissions, Geoff Kassel, 2007/11/04
- Re: [Gluster-devel] Bug with group permissions,
Raghavendra G <=
- Message not available
- Re: [Gluster-devel] Bug with group permissions, Raghavendra G, 2007/11/05
- Message not available
- Re: [Gluster-devel] Bug with group permissions, Raghavendra G, 2007/11/05
- Message not available
- Message not available
- Fwd: [Gluster-devel] Bug with group permissions, Raghavendra G, 2007/11/06
Re: [Gluster-devel] Booster documentation, Kevin Dewi, 2007/11/27
Message not available