View previous topic :: View next topic |
Author |
Message |
atze n00b
Joined: 14 Jul 2002 Posts: 55
|
Posted: Mon Jul 22, 2002 6:50 pm Post subject: I LOVE GENTOO!!! |
|
|
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 |
|
|
nesJa n00b
Joined: 19 Jul 2002 Posts: 8 Location: Jamaica
|
Posted: Mon Jul 22, 2002 7:16 pm Post subject: |
|
|
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 |
|
|
swales n00b
Joined: 10 Apr 2002 Posts: 13
|
Posted: Mon Jul 22, 2002 7:38 pm Post subject: |
|
|
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 |
|
|
al3x n00b
Joined: 19 Jun 2002 Posts: 47
|
Posted: Mon Jul 22, 2002 7:39 pm Post subject: NTFS Note |
|
|
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 |
|
|
Bosnian[X] n00b
Joined: 12 Jul 2002 Posts: 66 Location: Sweden, Malmö
|
Posted: Mon Jul 22, 2002 8:42 pm Post subject: |
|
|
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 |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Tue Jul 23, 2002 2:22 am Post subject: Re: NTFS Note |
|
|
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 |
|
|
atze n00b
Joined: 14 Jul 2002 Posts: 55
|
Posted: Tue Jul 23, 2002 7:44 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 23, 2002 7:47 am Post subject: |
|
|
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 |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Tue Jul 23, 2002 11:36 am Post subject: |
|
|
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 |
|
|
mrchuckles Tux's lil' helper
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Tue Jul 23, 2002 12:39 pm Post subject: |
|
|
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 |
|
|
atze n00b
Joined: 14 Jul 2002 Posts: 55
|
Posted: Tue Jul 23, 2002 8:19 pm Post subject: |
|
|
Thanks to all!
The option Code: | noauto,ro,user,umask=0 | was right in my case!
THX |
|
Back to top |
|
|
ghost_o Tux's lil' helper
Joined: 10 Jul 2002 Posts: 119
|
Posted: Tue Jul 23, 2002 8:45 pm Post subject: |
|
|
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 |
|
|
|