NTFS user permissions in RHL 9.0

NewWorldSamurai

< 25 Posts
So i'm just getting started w/ my first linux system on my home pc which is a RHL/WinXP dual boot system, and I'm having some newbie problems getting my second ntfs drive, where most of my mp3's and documents are stored, to mount automatically. I installed the ntfs read drivers from the ntfs project page and they are working fine, but when i try to modify my fstab so that it mounts the ntfs drive automatically, only the root user can access it. This has caused me to basically just login as root everytime, which i'm pretty sure is a bad idea, and i'd like to have it available to all other users. My fstab looks like,

-------------------------------------------------------------------------------------
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb1 /mnt/xp ntfs ro umask=000 0 0
-------------------------------------------------------------------------------------------
where the last line is the one i'm trying to use to mount the drive w/ permissions for all users. I've tried other umask options from the ntfs project website and i've also tried uid=newworldsamurai and gid=newworldsamurai, but none of those work.

I've tried asking this question on linux help boards, but people haven't been very helpful. I know there are some Horns out there who are linux gurus so I was hoping that maybe some of you could offer some advice. Anyone know what I should do?

Thx in advance.

Edit: Now RHL is telling me line 11 in fstab is bad whenever I shut down or reboot. I tried the same thing w/ the option "user" and got the same.[/i[
 
Do you know what kernel you have?

I did some checking on NTFS and apperantly my 2.6.5 kernel has an option for write support, which is new to me.

Anyways that fstab file looks somewhat odd, I have always used the device location instead of "LABEL", I don't know what RH 9 does with it. but if it works.

copy fstab to fstab.backup.

As to NTFS lets try and creating a group with access to it, type this as root

In reply to:


 
Sweet, thx. The last line for the fstab (w/ uid=502) worked for me after using some of the commands you mentioned. This is a major relief, much thanks.

My kernel is 2.4.20-18.9, and I had to use the NTFS Project Page to get it to read NTFS. It shouldn't be able to write (I've heard it can kill the drive). That's interesting that your kernel actually supports writing to NTFS. I wonder if they cleared up some legal issues or something. Do you think I should upgrade my kernel?

Also, while I'm at it, there's one other newbie problem I've encountered that perhaps I could seek your advice on. I have an optical Intellimouse Explorer w/ 5 buttons, and I've grown accustomed to using the 4,5 buttons for fwd/bk while surfing the web and browsing folders. So I found some HOWTO's on linuxquestions.org and some other sites that showed me how to modify my Xf86config file, install imwheel and modify imwheelrc, and then use the following commands to get the scroll and side buttons working:
In reply to:


 
It looks like you probably are using Gnome for your DE and you would have to include that imwheel command under Startup Programs in the Sessions applet (available under Advanced in the Control Panel or by running 'gnome-session-properties'). In other window managers, you can simply place it in your .xinitrc, .xsessions or whatnot, but this is one of those 'special features' of Gnome.

As for NTFS write, I wouldn't touch that. It's very limited and things could go wrong. I hear that it can only write to existing files within a certain size and the file has to retain that size or something like that. I just use a small FAT32 partition to share files from my linux partitions to my almost defunct Windows partition.
 

Weekly Prediction Contest

* Predict HORNS-AGGIES *
Sat, Nov 30 • 6:30 PM on ABC

Recent Threads

Back
Top