Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can mount NTFS drives, but only root can have access to it
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
elmie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2002
Posts: 124
Location: Brisbane - Australia

PostPosted: Tue Sep 24, 2002 3:24 am    Post subject: Reply with quote

I have a very similar problem myself, I have both WindowsXP Pro and gentoo 2.4.19r9..

THis is the funny think, I can mount NTFS drives, but only root can have access to it..

how I mounted the drive all I did was, put it in the fstab file

/dev/hda6 /mnt/NTFS ntfs noauto,noatime,user,ro 0 0
thats all
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Tue Sep 24, 2002 1:04 pm    Post subject: Reply with quote

What are the permissions of the mountpoint ? should be -r-xr-xr-x


elmie wrote:
I have a very similar problem myself, I have both WindowsXP Pro and gentoo 2.4.19r9..

THis is the funny think, I can mount NTFS drives, but only root can have access to it..

how I mounted the drive all I did was, put it in the fstab file

/dev/hda6 /mnt/NTFS ntfs noauto,noatime,user,ro 0 0
thats all
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Thu Sep 26, 2002 11:17 am    Post subject: Reply with quote

I have the same problem... except I'm trying to mount an 80gb secondary hard-drive formatted with ntfs...

here is my cat /proc/filesystems:
Code:

...
nodev   smbfs
   ntfs
nodev   autofs
...


here is fdisk -l /dev/hdb:
Code:

/dev/hdb1   *         1     10011  80413326    7  HPFS/NTFS


and here is my mount attempt (/mnt/net is just a temp dir I use for smb filesystems... it is not on fstab btw):
Code:

# mount -t ntfs /dev/hdb /mnt/net
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
       or too many mounted file systems


I have ntfs built-in the kernel
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Thu Sep 26, 2002 11:22 am    Post subject: Reply with quote

OH MY GOD!!! I am such a noob!!! I was trying to mount /dev/hdb, instead of /dev/hdb1 ...

just forget the above post :P
Back to top
View user's profile Send private message
Jarjar
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 265
Location: Sweden

PostPosted: Fri Sep 27, 2002 2:33 pm    Post subject: Reply with quote

elmie wrote:
I have a very similar problem myself, I have both WindowsXP Pro and gentoo 2.4.19r9..

THis is the funny think, I can mount NTFS drives, but only root can have access to it..

how I mounted the drive all I did was, put it in the fstab file

/dev/hda6 /mnt/NTFS ntfs noauto,noatime,user,ro 0 0
thats all

add uid=your_user_uid,umask=000 to the options and it should work.
To find out your uid (i don't know a better way :oops: ), cat /etc/passwd .
The first number in your users line. ;)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 19, 2002 7:09 pm    Post subject: Reply with quote

Split from a similar, but unrelated thread.

See this thread
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum