Hi y'all
Can individual permissions be given for r/w access to a partition by using gid or/and uid in /etc/fstab?
What I wanted to do is give access to a partition (/dev/hdb5 - which is /home/data) only to a particular group of users belonging to a specified group (group id: 511) . Right now, the owner is "root" belonging to group "root". What I did was edit the fstab to read:
Code:
LABEL=/home/data /home/data ext3 defaults,gid=511,umask=002 1 2
I only added the gid and umask values the rest is default RH9 install values.
This didn't work. At boot I got an error:
Code:
mount: wrong fs type, bad option, bad super block on /dev/hdb5
or too many mounted file systems.
Doing a bit of digging in the logs I found out the problem is the GID entry. Ok, fine, I got rid of the gid and umask values and mounted the partition manually (mount /home/data) with no problems.
Is there any way to give rw access to a group using the GID? I keep getting invalid option (mount errors) everytime I use the GID in fstab.
Thanks.