Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 16:03:31 -0500
From:      nathan <beemern@telecom.ksu.edu>
To:        questions@freebsd.org
Subject:   "permission denied" on NFS mount
Message-ID:  <3B16B1A3.60E667C8@telecom.ksu.edu>

next in thread | raw e-mail | index | archive | help
the UID of 'nathan' on my freebsd nfs client system 1000

UID 1000 is user 'camk' on the NFS server.  in the 'ls' below, you can
see where his username shows up as me

so ls'ing the nfs mount gives:

[nathan@sabre cvs]$ ls -la
total 32
drwxrwsr-x  13 5006    telc  4096 Jun 21  1999 .
drwxrwxrwx  44 root    sys   4096 May 31 15:26 ..
drwxrwsr-x   2 5006    telc  4096 May  8 15:48 CVSROOT
drwxrwsr-x   3 1035    telc    96 Mar  4  1998 bin
drwxrwsr-x   5 1035    telc  4096 Mar  4  1998 book
drwxrwsr-x   4 5006    telc    96 Mar  4  1998 doc
drwxrwsr-x  10 1018    telc  4096 May 31 15:06 jdev
drwxrwsr-x  17 nathan  telc  4096 Jan 18 16:11 jtdb
drwxrwsr-x   5 1035    telc  4096 Jan 18 16:11 poll
drwxrwsr-x   3 5006    telc    96 Apr 10  2000 src
drwxrwsr-x  12 1035    telc  4096 May 29 11:42 tdb
drwxrwsr-x   4 1035    telc    96 Sep 22  1997 telc
drwxrwsr-x   2 root    telc    96 Aug 15  1996 xdm

and here's what happens:

[nathan@sabre cvs]$ touch jtdb/foo
[nathan@sabre cvs]$ touch jdev/foo
touch: jdev/foo: Permission denied
[nathan@sabre cvs]$ 

now, since camk is the owner of jtdb/ it allows me write perms
however, it SHOULD allow me the same for jdev/  but it doesn't

what i did, was i created a group with the same name and gid on MY box
as the NFS server. ie "telc"
and added nathan to that group.

so, with the perms shown in the above 'ls', group members SHOULD be able
to write to ANY directory shown!?

what gives? how do i fool the NFS server into letting me write to these
locations?



from my /etc/fstab
--snip--
foo:/local          /opt/local      nfs     rw,noauto       0       0
--snip--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B16B1A3.60E667C8>