hiya, out of curiosity, if you su to root, and then su to your username, do you still get the problem? i know that if you add yourself to a group, it isn't immediately inherited by all your current processes (including your x windows session and all the terminals that it spawns), so maybe that's the problem? if so, logging out and back in should do the trick.
also, this is being a picky sysadmin, but instead of putting your
mount point in /mnt, you should consider putting it elsewhere, like
/usr/local/win (i do that and then symlink /music to
/usr/local/win/music/path)
sean
On Sun, Jan 12, 2003 at 03:25:41AM +0100, Benedict Verheyen wrote:
> i have a problem accessing my windows drive as a normal user.
> My mp3 collection is stored there and i want some sound in linux :)
> This is the relevant entry from my fstab file. The drive is fat32
> and i want to make it accessible for my user:
> /dev/hda5 /mnt/windata vfat defaults,gid=windows,umask=007 0 0
>
> I want to grant every user access to the drive by making them member
> of the group windows.
> When i do groups benedict as benedict, it doesn't show me as member of
> the group windows. When i issue the same command as root, it shows that
> i'm member of the group windows.
> Why is there this difference?
> The group file shows me correctly that i'm member of the group.
>
> However, after i mount the drive (as root) and then go back to user
> benedict,and try to access it as benedict i get "access denied"
> A "ls -la" reveals this:
> drwxrwx--- 12 root windows 8192 1970-01-01 01:00 windata
> So users of the group windows should be able to access the windata
> partition.
>
> What am i doing wrong?
> If i set this in my fstab it works but then everything is owned by
> benedict instead of root and that is something that i do not want
> to allow.
> /dev/hda5 /mnt/windata vfat
> defaults,user,uid=benedict,gid=windows,umask=007 0 0
>
> Any help is appreciated.
> Benedict
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
msg23645/pgp00000.pgp
Description: PGP signature

