LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-25-2003, 07:09 PM   #1
Citizen Bleys
Member
 
Registered: Mar 2001
Location: Moncton, NB
Distribution: Gentoo 2006.0
Posts: 181

Rep: Reputation: 30
NTFS in RH8


(Sort of related to my other thread, since all my MP3s are on an NTFS partition ><)

I got NTFS support added to my kernel, so that I can mount my NTFS partitions and browse them--as root only. Every time I try to change the permissions so that I can read the NTFS partitions as any other user, chmod fails, saying it's a read-only file system. chown doesn't do any good, either.

It's a Bad Idea (note caps) to be logged in as root all of the time, so can anybody tell me of an easier way?
 
Old 03-25-2003, 07:20 PM   #2
dmellem
Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 42

Rep: Reputation: 15
How are you mounting the filesystem? You will probably need to specify a umask option for the mount point in /etc/fstab. If you want everyone to have RWX, I believe you need to do umask=000 in the fourth column.

-Dan
 
Old 03-25-2003, 09:29 PM   #3
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
What I did to allow this was make a group called xp, make sure my user was part of this group then in my /etc/fstab file I inserted this line:

/dev/hda2 /mnt/XP ntfs umask=0227,uid=root,gid=xp 0 0

That should allow anybody who is part of the xp group access (as read only since ntfs shouldn't be written to) root has the same permission and nobody else can access the NTFS partition.

Hope this helps
 
Old 03-26-2003, 02:54 AM   #4
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
ntfs partition mounted on a linux system does not support "write"
 
Old 03-26-2003, 04:57 AM   #5
Citizen Bleys
Member
 
Registered: Mar 2001
Location: Moncton, NB
Distribution: Gentoo 2006.0
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by correro
ntfs partition mounted on a linux system does not support "write"
I don't want write, only read.
 
Old 03-26-2003, 06:57 PM   #6
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
you'll need to install a rpm package to support access of ntfs; this package is not included in RH8 CDs. then you mount the partition by

mount /dev/hdb1 /mnt/ntfspart -t ntfs

you should have created /mnt/ntfspart before mounting it
 
Old 03-26-2003, 07:02 PM   #7
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
Can linux Write on ntfs partition ?
 
Old 03-26-2003, 07:16 PM   #8
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
i never tried writing to an ntfs partition, 'cus people warned me that i may screw it up
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fat32/ntfs RH8 and 9 sorcerer980 Linux - General 11 07-01-2003 08:29 AM
Mounting NTFS and updating Kernel RH8 coquie Linux - Software 1 05-03-2003 05:10 PM
NTFS Support under rh8 Loki_VA Linux - Software 8 05-02-2003 01:07 AM
ntfs win partion under rh8 alrawab Linux - General 2 01-17-2003 03:51 PM
Anyone been able to mount a ntfs partition in RH8? MrPolite Linux - General 8 11-04-2002 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration