[opensuse] Wierd NFS permissions
I am trying to share a NTFS volume from my server to the network. Its a new fresh 10.2 install and i used YAST to set the shares up. /etc/fstab on server is: (for the relevant mounts) /dev/hdb1 /mnt/local/hdb xfs defaults 1 2 /dev/hdc1 /mnt/local/hdc ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/sda1 /mnt/local/sda xfs defaults 1 2 /dev/sdb1 /mnt/local/sdb xfs defaults 1 2 The /etc/exports on server is: /mnt/local/hdb *(ro,root_squash,sync) /mnt/local/hdc *(ro,root_squash,sync) /mnt/local/sda *(ro,root_squash,sync) /mnt/local/sdb *(ro,root_squash,sync) With no NFS mouted i have: ls -l /mnt/network/server/ total 0 drwxr-xr-x 6 root root 46 2007-02-24 15:42 . drwxr-xr-x 4 root root 30 2006-09-30 11:08 .. drwxrwxrwx 2 root root 6 2007-02-24 15:42 hdb drwxrwxrwx 2 root root 6 2007-02-24 15:42 hdc drwxrwxrwx 2 root root 6 2006-10-14 20:19 sda drwxrwxrwx 2 root root 6 2006-10-14 20:19 sdb mounting hdb gives: sparhawk:/mnt/network/server # mount /mnt/network/server/hdb sparhawk:/mnt/network/server # ls -l total 8 drwxr-xr-x 6 root root 46 2007-02-24 15:42 . drwxr-xr-x 4 root root 30 2006-09-30 11:08 .. drwxr-xr-x 2 root root 6 2007-02-24 14:50 hdb drwxrwxrwx 2 root root 6 2007-02-24 15:42 hdc drwxrwxrwx 13 root root 4096 2007-02-13 06:09 sda drwxrwxrwx 11 root root 4096 2007-03-03 22:06 sdb And mounting hdc (the NTFS volume) gives: sparhawk:/mnt/network/server # mount /mnt/network/server/hdc sparhawk:/mnt/network/server # ls -l total 12 drwxr-xr-x 6 root root 46 2007-02-24 15:42 . drwxr-xr-x 4 root root 30 2006-09-30 11:08 .. drwxr-xr-x 2 root root 6 2007-02-24 14:50 hdb dr-x------ 1 root root 4096 2006-10-24 18:01 hdc drwxrwxrwx 13 root root 4096 2007-02-13 06:09 sda drwxrwxrwx 11 root root 4096 2007-03-03 22:06 sdb Not even root can cd into it from sparhawk... What did i do wrong?? -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
participants (1)
-
Rikard Johnels