Linux 不用超級使用者的掛載(mount)方式(The non-superuser mounts.)
Linux 不用超級使用者的掛載(mount)方式(The non-superuser mounts.) 正常再 LINUX 內只有超級使用者可以掛載檔案系統,如果要讓一般使用者掛載某個檔案,只需要再 fstab 的參數加入 user 這個選項一般使用者就可以使用一般使用者的權限掛載檔案系統。 mtchang@mtchang-BM6660-BM6360:~$ cat /etc/fstab # /etc/fstab: static file system information. # that works even if disks are added and removed. See fstab(5). # <file system> <mount point> <type> <options> <dump> <pass> UUID=9c55a017-2ecc-46f2-853c-c43215884821 /home/mtchang/3gbhd ext4 defaults ,user 0 0 詳細請見 man 5 fstab The fourth field (fs_mntops). This field describes the mount options associated with the filesystem. It is formatted as a co...