LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-23-2003, 05:07 AM   #1
kvtournh
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
mounting ntfs


Hi,

I've been trying to open ntfs-partitions while beeing a normal user, but it doesn't work. I can only open them as root. can somebody help me out?

It are the partitions win_c and win_d that I want to read as normal user

Here under you find my fstab and mtab and what i tried

I also changed my mtab and fstab, but mdk9.2 changes it always back. How can I avoid this?

thanks
klaas

[root@localhost mnt]# ls -l
total 12
drwxrwxrwx 0 root root 0 Dec 23 12:47 cdrom/
drwxrwxrwx 0 root root 0 Dec 23 12:47 cdrom2/
drwxrwxrwx 0 root root 0 Dec 23 12:47 floppy/
dr-x------ 1 root root 8192 Dec 16 20:26 win_c/
dr-x------ 1 root root 4096 Dec 20 10:51 win_d/
[root@localhost mnt]# chmod 444 win*
chmod: changing permissions of `win_c': Read-only file system
chmod: changing permissions of `win_d': Read-only file system
[root@localhost mnt]# cat /etc/fstab
/dev/hda3 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,sync 0 0
/dev/hda4 /mnt/win_c ntfs user,iocharset=iso8859-1 0 0
/dev/hda5 /mnt/win_d ntfs user,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
[root@localhost mnt]# cat /etc/mtab
/dev/ide/host0/bus0/target0/lun0/part3 / ext3 rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /dev devfs rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
none /mnt/cdrom supermount ro,dev=/dev/hdc,fs=udf:iso9660,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount ro,dev=/dev/scd0,fs=udf:iso9660,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1 0 0
/dev/ide/host0/bus0/target0/lun0/part4 /mnt/win_c ntfs rw,noexec,nosuid,nodev,iocharset=iso8859-1 0 0
/dev/ide/host0/bus0/target0/lun0/part5 /mnt/win_d ntfs rw,noexec,nosuid,nodev,iocharset=iso8859-1 0 0
 
Old 12-23-2003, 09:41 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,039

Rep: Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892
First, you should not edit the /etc/mtab file. The file is updated by the OS when filesystems are mounted and unmounted.

With the windows partition unmounted change the permissions for reading by all with the chmod command. Then add the option umask=222 to the entry in the /etc/fstab file.
 
Old 12-24-2003, 05:07 AM   #3
kvtournh
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Mandriva
Posts: 91

Original Poster
Rep: Reputation: 15
I have done this, but when It is mounted again, the permissions change again, and I can't read it anymore.
 
Old 12-24-2003, 06:06 AM   #4
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
Hello

visit this side , i have done this with help of this NTFS drivers installation, select your linux version , processore and download releted pakage.
and follow steps.

http://linux-ntfs.sourceforge.net/rpm/index.html#latest

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntfs Mounting sri_hassan Fedora - Installation 2 11-24-2005 02:16 AM
mounting NTFS gnu4world Linux - General 2 05-21-2003 01:50 AM
Mounting NTFS tspauld98 Linux - General 3 08-04-2002 02:46 AM
Mounting NTFS sami Linux - Newbie 4 06-25-2002 12:24 PM
mounting ntfs starbreaker Slackware 3 06-02-2002 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration