School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,138 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,802 people online right now. 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 - 02: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 - 08:57 AM
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

k.sangeeth
**



post 1 Aug, 2007 - 04: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: 11/21/09 03:20PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month