インストールされたデバイスに対する権限が拒否されました。

インストールされたデバイスに対する権限が拒否されました。

同様の質問をたくさんチェックしましたが、解決策はうまくいきませんでした。以前のDebian wheezyインストールでは、権限の問題なしにGUIからデバイスをマウントでき、jessieにアップグレードした後も同様です。ただし、新しいDebian jessieインストールでは、デバイスは読み取り専用状態でマウントされます。私のDebianインストールと同じHDDのntfsパーティションでも外部USBデバイスでも、rootユーザーと一般ユーザーの両方にマウントできません。デバイスにデータを書き込んで修正します。

システムログに関連しているように見える次の行が見つかりました。

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.

両方のインストールの違いを調べたいと思います。新しいインストールでは、以前のインストールとは異なり、gnomeジョブを完全にインストールするのではなく、最小限のgnomeパッケージのみをインストールしました。もう1つの違いは、最初は新しいパーティションテーブルを作成し、すべてのパーティション(ext4とntfs)をフォーマットし、WindowsをインストールしてDebianをインストールしたが、2番目は同じパーティションテーブルを使用して構成された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

ベストアンサー1

数時間検索した結果、この問題は原因が異なるように見え、問題ごとに解決策も異なります。

私は包括的な答えを提供する専門家ではないので、そのトピックに関するいくつかの一般的なシナリオについてヒントを提供します。

私の問題は、欠落しているNTFSドライバパッケージが原因でntfs-3gシステムがLinuxカーネルNTFSドライバを使用することですntfs。で述べたようにDebian WikiNTFSLinuxカーネルNTFSドライバであるPageはntfs読み取り専用アクセスを提供し、ntfs-3gFUSEを介したユーザースペースNTFSドライバは読み取り/書き込みアクセスを提供します。

# apt-get install ntfs-3gシステムを再起動すると問題が解決しました。

おすすめ記事