QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 886|回复: 1

使NTFS安全可写

[复制链接]
发表于 2007-1-18 23:54:15 | 显示全部楼层 |阅读模式
* Install the ntfs-3g package from Fedora Extras:

      $ yum install ntfs-3g

    * In the /etc/udev/rules.d/50-udev.rules replace this line:

      SUBSYSTEM=="block",             GROUP="disk", MODE="0640"

      with the following line:

      SUBSYSTEM=="block",             GROUP="disk", MODE="0660"

    * Add the user to the disk and fuse group:

      $ usermod -a -G disk,fuse username

    * Change permissions of the directory where you want to mount the NTFS partition to 777:

      $ chmod 777 /media/hda1

    * Add this line to /etc/fstab:

      /dev/hda1    /media/hda1   ntfs-3g dmask=022,fmask=133,noauto,locale=zh_CN.UTF-8,user 0 0

    * If you want to allow other users to access the mounted NTFS partitions, not only the user who mounted it, run this command:

      $ echo user_allow_other >> /etc/fuse.conf

    * If you want to automatic mount your NTFS partition in GNOME, run this command:

      $ rm -f /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi


--
※ 来源:.天大求实BBS bbs.tju.edu.cn.[FROM: 202.113.13.188]
发表于 2007-1-19 09:37:03 | 显示全部楼层
这个用好久了,但我的看不到中文文件名的文件 :neutral:
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 04:26 , Processed in 0.055848 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表