linux 怎么修改windows分区文件权限?root账户用chmod也修改不了文件权限。
linux分区下就能修改
我的fstab这是样挂载win分区的
/dev/sda8 /media/f ntfs defaults,umask=0000 0 0
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
[root@localhost code]# chmod -c 100 2
mode of `2' changed to 0100 (--x------)
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
我的fstab这是样挂载win分区的
/dev/sda8 /media/f ntfs defaults,umask=0000 0 0
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
[root@localhost code]# chmod -c 100 2
mode of `2' changed to 0100 (--x------)
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
作者: e3399 发布时间: 2011-03-02
搜搜看。。
http://linux.chinaunix.net/bbs/viewthread.php?tid=892231
http://linux.chinaunix.net/bbs/viewthread.php?tid=892231
作者: id_for_fun 发布时间: 2011-03-02
回复 id_for_fun
我的fedora14上已经装了ntfs-3g。
fstab内容
/dev/sda8 /media/f ntfs-3g silent,umask=000 0 0
还是无法更改1.c的文件权限
[root@localhost code]# chmod 100 1.c
[root@localhost code]# ll 1.c
-rwxrwxrwx. 1 root root 1811 Mar 2 23:55 1.c
我的fedora14上已经装了ntfs-3g。
fstab内容
/dev/sda8 /media/f ntfs-3g silent,umask=000 0 0
还是无法更改1.c的文件权限
[root@localhost code]# chmod 100 1.c
[root@localhost code]# ll 1.c
-rwxrwxrwx. 1 root root 1811 Mar 2 23:55 1.c
作者: e3399 发布时间: 2011-03-03