Full Version: Setting up NTFS for user
Dream.In.Code > Programming Tutorials > Linux Tutorials
k0b13r
If you want to use NTFS partitions on standard user in Linux, you have to edit your /etc/fstab file. Login to root ('su' command in shell), and you will se:
root@<user home directory>$:_
Next type in shell 'cp /etc/fstab /root/'
Better make always copies of important system files.
After than we can edit our fstab file.
Type (in example, you can use any text editor, even vim): 'emacs /etc/fstab'
Your fstab file will be something like this:
CODE

/dev/hda2   /                ext3         defaults                       0              0
/dev/hda3   swap            swap         defaults                      0              0
/dev/hda1  /mnt/NTFS-C ntfs            ro                              0              0
proc        /proc            proc         defaults                   0              0
pts         /dev/pts           devpts       gid=5,mode=600         0              0
/dev/fd0    /floppy           vfat         noauto                             0              0
/dev/hdc    /cdrom          iso9660      noauto,ro,user            0              0


This is only example smile.gif
edit line '/dev/hda1 /mnt/NTFS-C ntfs ro 0 0' and add 'user,umask=000'
This line should be like
CODE
'/dev/hda1 /mnt/NTFS-C ntfs ro,user,umask=000 0 0'

Save file and type in shell 'mount -a'
And that's all smile.gif
k.sangeeth
good tip for some basic but troubling problems ..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.