我正在运行 ubuntu 13.10 x86_64,并且我已经修改/etc/fstab
为使用权限挂载我的 NTFS HDD,但我收到一些权限错误,因为所有者是“root”而不是我的用户。
提前致谢
PS:我在 Ubuntu 13.04 32 位上执行此操作没有遇到问题
编辑:
fstab内容:
#/etc/fstab: static file system information.
#Use 'blkid' to print the universally unique identifier for a
#device; this may be used with UUID= as a more robust way to name devices
#that works even if disks are added and removed. See fstab(5).
#<file system> <mount point> <type> <options> <dump> <pass>
#/ was on /dev/sda5 during installation
UUID=3e857b61-2d2b-469a-a3eb-de1cf4d5130a / ext4 errors=remount-ro 0
#/home was on /dev/sda7 during installation
#UUID=14887804-6799-443e-955f-6b2872cd441a /home ext4 defaults 0 2
#swap was on /dev/sda6 during installation
#UUID=2da59282-61ee-40d2-821b-2042ff556748 none swap sw 0 0
#UUID=4A1499C11499B085 /media/ivykoko/269Gb ntfs umask=0000,utf8 0 0
答案1
要以您的用户作为所有者安装驱动器,请添加该uid
选项。
id
在终端中输入以从输出中获取您的用户 ID uid=####
:。
然后将该选项添加到 fstab,以便您的新条目将如下所示:
UUID=4A1499C11499B085 /media/ivykoko/269Gb ntfs umask=0000,utf8,uid=#### 0 0
其中 #### 是您的实际 uid。
然后卸载并重新安装驱动器。