NFS: exportfs e no_root_squash
- Login o registrati per inviare commenti
Lun, 09/12/2011 - 18:29
Voglio esportare temporaneamente una cartella con nfs.
dal ma di exportfs
However, administrators can choose to add and delete individual file systems without modifying /etc/exports using exportfs.
da pc2
exportfs -i -o no_root_squash pc1:/tmp/prova
da pc1
mount.nfs pc2:/tmp/prova /mnt/prova
mount | grep /mnt/prova
pc2:/tmp/prova on /mnt/prova type nfs (rw,addr=192.168.2.59)
L'opzione no_root_squash è stata ignorata.
Avete idea del motivo?
Come conseguenza, se provo a scrivere un file come utente root ottengo "Read-only file system".
