lkml.org 
[lkml]   [2005]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: nfs insecure_locks / Tru64 behaviour
On Fri, Dec 23, 2005 at 02:45:25AM +0100, Trond Myklebust wrote:
> On Thu, 2005-12-22 at 20:39 -0500, Ron Peterson wrote:
> > > As for your problem accessing files in the directory
> > >
> > > drwxr-x--- 2 root system 4096 Dec 22 08:22 d/
> > >
> > > as an unprivileged user on group 'kmw', the solution is obvious:
> > >
> > > 'chgrp kmw d'
> > >
> > > or
> > >
> > > chmod a+x d
> >
> > That's exactly the problem. The first obvious solution doesn't work.
> > Your second solution does. The directory must have the execute bit set
> > for other, or the the file cannot be edited, no matter who owns the
> > directory (unless the owner/group is nobody/nogroup).
>
> Why wouldn't the chgrp solution work? Isn't /etc/groups on the client
> and server in sync?

Yep.

Why it doesn't work .. I dunno. My current best guess is that the
manner in which the insecure_locks option in /etc/exports is applied to
directories isn't quite right.

Best.

--
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://pks.mtholyoke.edu:11371/pks/lookup?search=0xB6D365A1&op=vindex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-23 03:23    [W:0.089 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site