cnhnln 发表于 2007-1-18 23:54:15

使NTFS安全可写

* 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


--


Sam1860 发表于 2007-1-19 09:37:03

这个用好久了,但我的看不到中文文件名的文件 :neutral:
页: [1]
查看完整版本: 使NTFS安全可写