NFS: right-problem
Hello !
I have two computers here, eddie and marvin:
Linux Marvin 2.2.18pre21 #14 Wed Oct 17 20:20:24 CEST 2001 i586 unknown
Linux Eddie 2.4.17 #1 Sam Feb 16 14:06:40 CET 2002 i686 unknown
>From marvin, I export a directory with some data to eddie.
Unfortunately, I can't create files as user markus on eddie, only as
root (on eddie). I have no idea, why this is like that. To describe in
detail:
The directory is named "eddie" and looks like that on marvin:
| markus@Marvin: > ls -l
| insgesamt 2
| drwxrwsr-x 2 root seti 1024 13. Mär 10:38 eddie
| markus@Marvin: > ls -ln
| insgesamt 2
| drwxrwsr-x 2 0 1006 1024 13. Mär 10:38 eddie
My user markus is in the group "seti":
| markus@Marvin: > grep seti /etc/group
| seti:x:1006:markus
On marvin, I can create files as user markus without problems:
| markus@Marvin: > pwd
| /var/spool/setiathome/eddie
| markus@Marvin: > touch test
| markus@Marvin: > ls -l test
| -rw-r----- 1 markus seti 0 13. Mär 10:50 test
The directory is exported by the nfs kernel server. /etc/exports
contains the lines:
| /var/spool/setiathome/eddie eddie.galaxy.home(rw,no_root_squash)
| /var/spool/setiathome/eddie *.galaxy.home(ro,no_root_squash)
Well, mounted on eddie, things look like that:
| markus@Eddie: > mount | grep eddie
| marvin:/var/spool/setiathome/eddie on /var/spool/setiathome/eddie
| type nfs
| (rw,rsize=8192,wsize=8192,retry=5,retrans=1,soft,addr=192.168.42.99)
| markus@Eddie: > ls -l
| insgesamt 2
| drwxrwsr-x 2 root seti 1024 13. Mär 10:38 eddie
| markus@Eddie: > ls -ln
| insgesamt 2
| drwxrwsr-x 2 0 1006 1024 13. Mär 10:38 eddie
On eddie, I am in group "seti" as well:
| markus@Eddie: > grep seti /etc/group
| seti:x:1006:markus
Even after logout and -in (because of the group association) I can't
create files as user markus. This works only as root...
| markus@Eddie: > cd eddie
| markus@Eddie: > touch test
| touch: Erzeugen von »test«: Keine Berechtigung
| markus@Eddie: > su
| Password:
| root@Eddie: > pwd
| /var/spool/setiathome/eddie
| root@Eddie: > touch test
| root@Eddie: > ls -l test
| -rw-r----- 1 root seti 0 13. Mär 10:46 test
I don't get what I am doing wrong. Can anyone help me ?
--
Markus Grunwald
Registered Linux User Nr 101577
http://counter.li.org http://www.grunwald.2xs.de
Reply to: