user groups and permissions questions
hello
I have a mount point /data (/dev/sdc) I want all users in a certain group to be able to write to that folder. I created a group called data and added the users to that group. I then: Code:
chown -R root:data /data Code:
chmod -Rv 775 /data Code:
chmod g+rwx /data Code:
[root@fedora ~]# ls -la /data Code:
[root@fedora ~]# cat /etc/mtab Code:
[root@fedora ~]# cat /etc/fstab I am running FC5 if it helps. Thanks, |
I don't see anything wrong. In particular, any member of group data should be able to write to /data/FC5stuff. Just to make sure nothing weird is going on (that I missed), I suggest you verify that root can write to this folder.
Beyond that, verify that chris is actually a member of group data by having that user type groups, which will list all groups that user is a member of. Or you can do this yourself by suing to that user. Beyond that, be aware that groups are assigned at login. This means if a user is logged on when you change group assignments, that user will need to log out and log back in before the change takes effect. |
Hey Chris,
Whats the permissions on /data itself? It too should be 755 but you might want to double check incase "chris" cant cd into /data. Is Chris able to do other stuff? Can he go elsewhere or does "chris" have a problem everywhere? Put in the output of: Code:
ls -la / | grep data Arvind |
Thanks blackhole54 for the help! Well since I am running linux and never have to reboot. I had never logged off user chris and once i did it all worked.
Thanks again gents and/or ladies! |
Yes, I've been caught by that before. You can change the permissions and add a group to a user, but until they logout and login it does not take effect.
Bill |
All times are GMT -5. The time now is 04:33 AM. |