Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,543 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,713 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Setting up NTFS for user

 
Reply to this topicStart new topic

> Setting up NTFS for user

k0b13r
Group Icon



post 22 Nov, 2006 - 03:31 AM
Post #1


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

This post has been edited by k0b13r: 12 Apr, 2007 - 09:57 AM
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

k.sangeeth
**



post 1 Aug, 2007 - 05:38 AM
Post #2
good tip for some basic but troubling problems ..
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 10/7/08 05:40PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month