我有一个外部硬盘TOSHIBA 1TB USB 3,该权限始终是只读的。
fdisk -l(输出):
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf2198b37
Device Boot Start End Blocks Id System
/dev/sda1 * 2046 362369023 181183489 5 Extended
/dev/sda3 362371072 976771071 307200000 7 HPFS/NTFS/exFAT
/dev/sda5 2048 976895 487424 83 Linux
/dev/sda6 978944 362369023 180695040 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeba6fb57
Device Boot Start End Blocks Id System
/dev/sdb1 16065 312576704 156280320 f W95 Ext'd (LBA)
/dev/sdb5 16128 312573708 156278790+ 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 1000.2 GB, 1000204885504 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x297c35de
Device Boot Start End Blocks Id System
/dev/sdc1 63 1953520064 976760001 7 HPFS/NTFS/exFAT
如何更改此硬盘驱动器的所有者和权限?
@ Alaa仍然相同的权限,什么都没有改变!
—
moata_u
什么是命令的输出
—
Alaa Ali
mount | grep sdc
和id
?另外,请检查驱动器内部文件夹的权限,而不是实际的“ TOSHIBA”文件夹。
/ media / TOSHIBA类型上的/ dev / sdc1类型fuseblk(rw,nosuid,nodev,allow_other,blksize = 4096,uid = 1000,gid = 46,uid = 1000,gid = 46).....权限为= drwxr- xr-x 1 root root
—
moata_u
我已经发布了答案。第一个命令是您之前尝试过的命令,因此您可以跳过该命令并从编号的步骤开始。
—
Alaa Ali
sudo mount -o remount,uid=1000,gid=46,rw /dev/sdc1
在终端中尝试。