public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nfs insecure_locks / Tru64 behaviour
@ 2005-12-22 13:36 Ron Peterson
  2005-12-22 23:21 ` Trond Myklebust
  0 siblings, 1 reply; 15+ messages in thread
From: Ron Peterson @ 2005-12-22 13:36 UTC (permalink / raw)
  To: linux-kernel

If I mount a linux export on Tru64, it seems the execute bit for 'other'
needs to be set on a directory in order edit files within it using vi.
'Nobody' and 'nogroup' also appear to be special.

I'm running 2.6.14.3 on Debian Sarge.

For example.

On linux, in directory /db/test:

1185# ll
total 16
drwxr-x--x  2 root     kmw     4096 Dec 21 22:39 a/
drwxr-x---  2 nobody   kmw     4096 Dec 21 22:39 b/
drwxr-x---  2 rpeterso nogroup 4096 Dec 21 22:46 c/
drwxr-x---  2 root     system  4096 Dec 22 08:22 d/

where /etc/exports looks like

/db/test  \
              depot.p(rw,sync) \
              polar.p(rw,sync,insecure_locks)

I mount this on Tru64 like:

mount -o tcp yogi.p:/db/test dbtest

Each directory a,b,c,d has a small text file named 'test':

-rw-rw-r--  1 root kmw 5 Dec 21 22:39 test

As a user in group kmw I can edit this file in directory a, b, and c.  I
can't edit the file in directory d.

I understand that Tru64 doesn't send matching credentials with nfs lock
requests.  The 'insecure_locks' option seems to help work around
permission problems on the files themselves, but doesn't seem to work
around the permissions of the owning directory.

It's probably fair to point fingers at Tru64, but it seems unlikely
there will be any changes to nfs on that side...

I'm not subscribed the lkml, so cc's are appreciated.

Best.

-- 
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://pks.mtholyoke.edu:11371/pks/lookup?search=0xB6D365A1&op=vindex

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-12-23 22:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-22 13:36 nfs insecure_locks / Tru64 behaviour Ron Peterson
2005-12-22 23:21 ` Trond Myklebust
2005-12-23  1:39   ` Ron Peterson
2005-12-23  1:45     ` Trond Myklebust
2005-12-23  2:21       ` Ron Peterson
2005-12-23  2:32         ` Ron Peterson
2005-12-23  8:37         ` Trond Myklebust
2005-12-23 13:38           ` Ron Peterson
2005-12-23 13:50             ` Trond Myklebust
2005-12-23 14:39               ` Ron Peterson
2005-12-23 15:00                 ` Trond Myklebust
2005-12-23 18:10     ` Bernd Eckenfels
2005-12-23 20:58       ` Trond Myklebust
2005-12-23 21:41         ` Bernd Eckenfels
2005-12-23 22:00           ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox