LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-07-2005, 09:42 AM   #1
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Rep: Reputation: 30
mounting ntfs


when I mount an ntfs-partition

(with "mount -t /dev/hda5 /mnt/ntfs -o ro,users")

I get it mounted, but only root is allowed to accedd it.. even with the "users" in the tag..

what am I doing wrong ??
I want ME (as user) to access it..
 
Old 01-07-2005, 10:01 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
add to fstab
/dev/hda5 /mnt/ntfs ntfs uid=1001,gid=root,ro 1 0
UID may vary according to user id. you can also simply input username
Keep also in mind that NTFS in Linux is readonly
 
Old 01-07-2005, 10:37 AM   #3
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
doesn't work..
 
Old 01-07-2005, 10:47 AM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
also keep in mind that fstab starts on boot
You may also restart fstab by going
$su
$mount -a
 
Old 01-07-2005, 12:27 PM   #5
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
It worked with a reboot.
 
Old 01-07-2005, 02:20 PM   #6
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
I'm glad that everything wrapped up nicely
 
Old 01-08-2005, 03:19 PM   #7
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
how do I close these threads ??


--close thread--
 
Old 01-08-2005, 03:27 PM   #8
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
wait wait..

my cd-rom doesnt exist now..

my fstab is as followed

proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 /home ext3 defaults 0 2
/dev/hda6 none swap sw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda5 /mnt/ntfs ntfs ro,uid=terfy,gid=root 1 0

shifting cdrom0-proc to "auto" instead of iso9660 doesn't help much-
 
Old 01-08-2005, 11:08 PM   #9
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Check that /media folder actually contains /cdrom folder
 
Old 01-09-2005, 05:22 AM   #10
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
there is a link to "cdrom" in media directory.. but it's locked and isn't a directory..
 
Old 01-09-2005, 09:44 AM   #11
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Your fstab has the path set to /media/cdrom0 (not cdrom).
su to root then type "mkdir /media/cdrom0"
 
Old 01-09-2005, 02:42 PM   #12
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
it helped..

thank you a lot..

it seems right logical to me, but I wondering why it didn't did automatically..
 
  


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 - Distributions > Debian

All times are GMT -5. The time now is 01:48 AM.

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