Bug 6772 - Intermittent failures apparently related to group permissions
: Intermittent failures apparently related to group permissions
Status: NEW
: GridFTP
: 4.2.0
: PC Linux
: P3 normal
: ---
Assigned To:
: http://www.isi.edu/~laura/gridftp_bug/
  Show dependency treegraph
Reported: 2009-06-18 23:02 by
Modified: 2009-07-08 16:02 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2009-06-18 23:02:48
We've run into some strange behavior when trying to use gridftp to write files.
 The failures seem to happen only when the directory is owned by someone other
than the user and by a group that the user is a member of but that is not the
user's default group.  For example, on my local host, my default group is
"laura", and I'm also a member of the group "cats".  If I create a directory
called /tmp/cats with these permissions:

drwxrws--- 2 root cats 4096 2009-06-18 20:12

and run:

globus-url-copy file:///etc/group gsiftp://lynx.isi.edu/tmp /cats/holly

then that command will sometimes succeed and sometimes fail.  Sometimes I'll
get up to 10 successes or 10 failures in a row.  The URL referenced by this bug
has links to detailed transcripts, server logs, etc.

I also tried a similar experiment where I tried 1000 copies to a directory with
similar permissions but in my default group; all of those copies succeeded.

This seems similar to bug 3618, but that looks like it was fixed years ago.
------- Comment #1 From 2009-06-19 00:30:55 -------
A couple more things I should mention:

I tried similar tests with local file copies, so I don't think it's an
underlying OS problem.

CHI relies heavily on group permissions (i.e., on the ability for an individual
client to write in directories that are in multiple groups and owned by
different users).  This is also a feature that BIRN uses, although I don't
think this has affected any BIRN users so far.
------- Comment #2 From 2009-07-08 04:13:10 -------
This is related to bug 6783; however, the patch for that bug does not fix this
one (although it does reduce the frequency with which it occurs).  Running a
single-threaded gridftp server always results in the correct set of groups
being used.
------- Comment #3 From 2009-07-08 16:02:17 -------
Yeah, that is going to be the workaround for the near future.  Reducing the
occurrence of failure was the best we could do without a major change.