Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I LOVE GENTOO!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Mon Jul 22, 2002 6:50 pm    Post subject: I LOVE GENTOO!!! Reply with quote

Finally, after 1 week I got sound, I got an Internet-Connection and I LOVE GENTOO!!!

But I still have one question:

I mount my NTFS partition with a normal or with root, but I don't get access with the normal user! It says "permission denied" and that I don't have the rights!

What group do I have to add the user?
Back to top
View user's profile Send private message
nesJa
n00b
n00b


Joined: 19 Jul 2002
Posts: 8
Location: Jamaica

PostPosted: Mon Jul 22, 2002 7:16 pm    Post subject: Reply with quote

I found this in the FAQ.

Add the user to the group wheel by doing this:

Code:
# usermod -G users,wheel username


And then do this so that the user can have access to the partition.

Code:
# chmod  g+r path-to-partition


Hopefully this works.
_________________
"Don't be afriad of going slowly; be afraid of standing still" - Unknown
Back to top
View user's profile Send private message
swales
n00b
n00b


Joined: 10 Apr 2002
Posts: 13

PostPosted: Mon Jul 22, 2002 7:38 pm    Post subject: Reply with quote

There's an fstab option called "uid", uid=<uid of user you want to give access to>

same works for gid, i'm pretty sure.
Back to top
View user's profile Send private message
al3x
n00b
n00b


Joined: 19 Jun 2002
Posts: 47

PostPosted: Mon Jul 22, 2002 7:39 pm    Post subject: NTFS Note Reply with quote

Just note that, as far as I know, there is no write support for NTFS. So you can only read data from your NTFS partition.
Back to top
View user's profile Send private message
Bosnian[X]
n00b
n00b


Joined: 12 Jul 2002
Posts: 66
Location: Sweden, Malmö

PostPosted: Mon Jul 22, 2002 8:42 pm    Post subject: Reply with quote

i had same problem as u and this is how it looks in my Fstab.

Note:

U must join "user" group

Code:

/dev/hde1               /mnt/c          ntfs            noauto,ro,user,umask=0
/dev/hde8               /mnt/ftp        ntfs            noauto,ro,user,umask=0
Back to top
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Tue Jul 23, 2002 2:22 am    Post subject: Re: NTFS Note Reply with quote

al3x wrote:
Just note that, as far as I know, there is no write support for NTFS. So you can only read data from your NTFS partition.


There is write support, it's just experimental right now. To get it in the kernel config you'll need to enable the experimental prompts.

Never tried it personally as I have data on my NTFS drives I can't afford to gamble with... I imagine it's reasonably stable though.
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Tue Jul 23, 2002 7:44 am    Post subject: Reply with quote

Hi guys,

the line in the fstab looks like this:
Code:
/dev/hda2 /win ntfs noauto,user,ro


and the user is in the "users" and "wheel" group and it don't work

I made chmod 777 ("drwxrwxrwx") on the folder "/win" (this is where I mount the partition) to gain 100% access, but after I mount that partition it comes up with this rights "dr-x------ " and when I try to chmod the folder after it's mounted it has no effect.

One more thing: I got no group called "user"! There is just one called "users". Is that ok?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 23, 2002 7:47 am    Post subject: Reply with quote

atze wrote:

Code:
/dev/hda2 /win ntfs noauto,user,ro

Take out that "ro" - it stands for "read-only".
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Jul 23, 2002 11:36 am    Post subject: Reply with quote

I would not recommend taking out the ro. Write support for NTFS is a bit flakey. The project was never really finished and has remained experimental for quite a while. I've lost data and I haven't seen very many people use it without doing the same. I would try changing the 'user' to 'users' if you have a group for 'users' and not for 'user'. This will not give you write access (which, as mentioned, would have to be compiled in the kernel..) but it might allow normal users to read the NTFS partitiom.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Tue Jul 23, 2002 12:39 pm    Post subject: Reply with quote

NTFS write support is available in the kernel, but I wouldn't use it.

Use these options in your fstab to mount the partition read-only, viewable by all members of the group 'users'.

Code:
ro,user,gid=users,mode=0440


HTH,
Steven
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Tue Jul 23, 2002 8:19 pm    Post subject: Reply with quote

Thanks to all!

The option
Code:
noauto,ro,user,umask=0
was right in my case!


THX
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Tue Jul 23, 2002 8:45 pm    Post subject: Reply with quote

mrchuckles wrote:
NTFS write support is available in the kernel, but I wouldn't use it.

Use these options in your fstab to mount the partition read-only, viewable by all members of the group 'users'.

Code:
ro,user,gid=users,mode=0440


HTH,
Steven


And it also only works with NTFS <= nt4.0 - 2000 and XP are not write capable even if you enable it in the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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