linux 怎么修改windows分区文件权限?root账户用chmod也修改不了文件权限。
时间:2011-03-02
来源:互联网
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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28