Quellcode |
|
1 2 3 4 5 |
# mount -v 192.168.178.137:/MUSIC /home/nocomprom1se/music mount.nfs: timeout set for Wed Aug 21 19:13:32 2013 mount.nfs: trying text-based options 'vers=4,addr=192.168.178.137,clientaddr=192.168.178.163' mount.nfs: mount(2): Permission denied mount.nfs: access denied by server while mounting 192.168.178.137:/MUSIC |
Quellcode |
|
1 2 3 4 |
# /etc/exports: NFS file systems being exported. See exports(5). /export 192.168.178.0/24(rw,fsid=0,no_subtree_check) /export/MUSIC 192.168.178.0/24(rw,nohide,insecure,no_subtree_check) /export/VIDEOS 192.168.178.0/24(rw,nohide,insecure,no_subtree_check) |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »nocomprom1se« (26.08.2013, 01:37) aus folgendem Grund: wiki added
Quellcode |
|
1 |
/export *(acl,sync,no_subtree_check,fsid=0,rw) |
Quellcode |
|
1 |
/export/MUSIC 192.168.178.0/24(sync,no_subtree_check,all_squash,rw) |
Quellcode |
|
1 |
/Pfad/MUSIC 192.168.178.0/24(acl,async,no_subtree_check,rw,root_squash) |
funktioniert leider nicht.
Quellcode
1 /export *(acl,sync,no_subtree_check,fsid=0,rw)
Wenn von NFS4 ausgehst kannst keine richtige Rechteverwaltung ohn Kerberos fahren. Für Public mit dem User nobody schaut die Sache für dich so aus.
Quellcode
1 /export/MUSIC 192.168.178.0/24(sync,no_subtree_check,all_squash,rw)
Quellcode |
|
1 |
chown nobody /export |
Quellcode |
|
1 2 3 4 |
mkdir /home/public chmod 777 /home/public ls -ld /home/public drwxrwxrwx+ 3 root root 4096 Aug 11 23:05 /home/public/ |
Quellcode |
|
1 |
/home/public *(sync,no_subtree_check,all_squash,rw) |
Quellcode |
|
1 |
exportfs -r |
Quellcode |
|
1 |
deinhost.local:/public/ /home/dein_User/public/ nfs4 rw,_netdev,noauto,user,acl,intr,soft,bg 0 0 |
Quellcode |
|
1 2 3 4 |
mount.nfs: timeout set for Sun Aug 25 22:08:20 2013 mount.nfs: trying text-based options 'vers=4,addr=192.168.178.137,clientaddr=192.168.178.163' mount.nfs: mount(2): Permission denied mount.nfs: access denied by server while mounting 192.168.178.137:/public |
Quellcode |
|
1 2 |
ls -ld /home/public drwxrwxrwx 2 root root 4096 25. Aug 22:04 /home/public |
Quellcode |
|
1 2 3 4 5 |
ps ax | grep rpc 699 ? S< 0:00 [rpciod] 6206 ? Ss 0:00 /sbin/rpcbind 6322 ? Ss 0:00 /sbin/rpc.statd 6359 ? Ss 0:00 /usr/sbin/rpc.mountd |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
s ax | grep nfs 815 ? S< 0:00 [nfsiod] 6296 ? S< 0:00 [nfsd4] 6297 ? S< 0:00 [nfsd4_callbacks] 6301 ? S 0:00 [nfsd] 6302 ? S 0:00 [nfsd] 6303 ? S 0:00 [nfsd] 6304 ? S 0:00 [nfsd] 6305 ? S 0:00 [nfsd] 6306 ? S 0:00 [nfsd] 6307 ? S 0:00 [nfsd] 6308 ? S 0:00 [nfsd] |
Quellcode |
|
1 2 3 4 5 6 |
ps ax | grep rpc 487 ? S< 0:00 [rpciod] 2039 ? Ss 0:00 /sbin/rpcbind 2054 ? Ss 0:00 /sbin/rpc.statd --no-notify 2086 ? Ss 0:00 /usr/sbin/rpc.idmapd 16907 pts/0 S+ 0:00 grep --colour=auto rpc |
Quellcode |
|
1 2 3 4 5 |
[...] # Options to pass to rpc.mountd # ex. OPTS_RPC_MOUNTD="-p 32767" OPTS_RPC_MOUNTD="-v 4 -N 3 -N 2" [...] |
Quellcode |
|
1 |
OPTS_RPC_MOUNTD="-V 4 -N 3 -N 2" |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »nocomprom1se« (26.08.2013, 01:36) aus folgendem Grund: solved