[PVFS-developers] Possible permissions handling bug
Rob Ross
rross@mcs.anl.gov
Thu, 16 Oct 2003 11:18:06 -0500 (CDT)
I've (finally) applied this to CVS.
Thanks Murali!
Rob
On Fri, 1 Aug 2003, Murali Vilayannur wrote:
> Hi Nathan,
>
> Could you please try the attached patch (against current CVS tree) and let
> us know if it solves the problem?
> The patch essentially teaches meta_access() to retry (on failure of
> course) with all group id's to which a particular user belongs to.
> On my setup (NIS), this seems to fix the particular test-case that
> you described. Hopefully, this should not cause other side-affects.
> Thanks,
> Murali
>
>
> > npozni@dpdred2:/mnt/pvfs/testdir$ chgrp testgrp file
> > chgrp: changing group of `file': Permission denied
> > npozni@dpdred2:/mnt/pvfs/testdir$ ls -l > file
> > bash: file: Permission denied
> >
> > Without looking too deeply, I'm led to believe that there might be a
> > semantics issue with meta_access() and/or meta_check_ownership() (or
> > their use in other places in the manager code).
> >
> > Any thoughts?
>