I am using UNIX shells on a Macintosh.
I would like to :
- Create a new user group
- Define myself as a member of this group
- Modify the group of some files and directories to this new group
I modified the /etc/group, adding this line:
pp is my login and cvsuser is another account on the Macintosh.
Then I tried to change the group of a directory and its content.
I used the following command:
Bash$ chgrp -R 600 <directory_path>
But I was prompted the following message:
chgrp: you are not a member of group 600
And my directory and its included files and subdirectories were set to group "admin".
Does anybody know why this happened and how I could become a member of my new group.
Thanks for your help