jal*_*jal 9 permissions debian mount ntfs
我检查了许多类似的问题,但解决方案对我不起作用。在我之前的 Debian wheezy 安装中,我可以在没有权限问题的情况下从 GUI 挂载设备,也可以在升级到 jessie 之后。但是在我的新 Debian jessie 安装设备上,无论 ntfs 分区是在与我的 Debian 安装相同的 HDD 上还是外部 USB 设备上,对于 root 用户和普通用户,都以只读状态安装,我无法在安装的设备上写入和修改数据.
我在 syslog 中发现这些似乎相关的行。
udisksd[1281]: Mounted /dev/sda4 at /media/<user>/<uuid> on behalf of uid 1000
udisksd[1281]: Cleaning up mount point /media/<user>/<uuid> (device 8:4 is not mounted)
udisksd[1281]: Unmounted /dev/sda4 on behalf of uid 1000
kernel: [ 125.190099] ntfs: volume version 3.1.
udisksd[1281]: Mounted /dev/sda4 at /media/<user>/<uuid> on behalf of uid 1000
org.gtk.Private.UDisks2VolumeMonitor[1224]: index_parse.c:191: indx_parse(): error opening /media/<user>/<uuid>/BDMV/index.bdmv
org.gtk.Private.UDisks2VolumeMonitor[1224]: index_parse.c:191: indx_parse(): error opening /media/<user>/<uuid>/BDMV/BACKUP/index.bdmv
org.gnome.Nautilus[1224]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
kernel: [ 137.739543] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739579] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739655] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739678] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739702] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739767] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739791] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739814] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739894] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
kernel: [ 137.739921] ntfs: (device sda4): ntfs_setattr(): Changes in user/group/mode are not supported yet, ignoring.
Run Code Online (Sandbox Code Playgroud)
我试图找出两个安装之间的区别。在我的新安装中,与前一个不同,我没有完全安装 gnome 任务,而是只安装了最小的 gnome 包。另一个区别是我第一次创建了一个新的分区表并格式化了所有分区,ext4和ntfs,然后安装了windows,然后是Debian,但是第二次我使用了相同的分区表并且只格式化了ext4分区。两次都使用 Windows 进行双引导。
cat /etc/mtab两个内部和外部安装设备的输出如下:
/dev/sdb1 /media/<user>/<uuid> ntfs rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
/dev/sda4 /media/<user>/<uuid> ntfs rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
Run Code Online (Sandbox Code Playgroud)
jal*_*jal 16
经过数小时的搜索,此问题似乎有不同的原因,每个原因都有不同的解决方案。
我不是提供全面答案的专家,因此我暗示了有关该主题的一些常见情况:
挂载点上挂载设备的所有权/权限问题:
文件权限不会更改
用户自动挂载的 USB 驱动器,但仅获得 root 的写入权限
出于安全原因将设备安装为只读的损坏的文件系统:
外置硬盘上的权限被拒绝
不允许对双引导系统上的 Windows 分区进行写访问的休眠窗口:
由于休眠,无法挂载 Windows (NTFS) 文件系统
我的问题是缺少 NTFS 驱动程序包ntfs-3g,导致系统使用 Linux 内核 NTFS 驱动程序ntfs。正如Debian Wiki NTFS页面中提到的ntfs,Linux 内核 NTFS 驱动程序提供只读访问权限,并且ntfs-3g通过 FUSE 的用户空间 NTFS 驱动程序提供读写访问权限。
# apt-get install ntfs-3g 系统重启为我解决了这个问题。
| 归档时间: |
|
| 查看次数: |
38576 次 |
| 最近记录: |