mount指令的參數: user/users 有何不同?



贊助商連結


jack8015
2009-09-03, 05:28 PM
網上所查如下:

user 允許一般使用者掛載此檔案系統,但不允許一般使用者卸載。

users 允許一般使用者mount及umount此檔案系統。

nouser 一般使用者不可mount及umount此檔案系統。

但,例如,先以 root 執行如下:
mount -t nfs -o users redhat5:/tmp /mnt/tmp
再欲以 user1(一般使用者) umount /mnt/tmp 出現 => 出現 /mnt/tmp is not in the fstab and you are not root 之訊息...why?