Managing users/groups for CVS. Here’s how to allow user
joe to modify code in a CVS directory. Depending on how your permissions were set up, the following commands may or may not have to be run with
First, we need to create a group dev that will eventually have rw access to the CVS directory:
Then, we need to add user
joe to the
usermod -G dev -a joe
-G flag adds
joe to the dev group, while the
-a flag assures that joe retains his original group as well. Without the
joe would only be a member of
dev, erasing his previous group.
Then, change the group ownership of the target directory, in our case
chgrp -R dev /cvs/test/
Finally, add group rwx permissions for the
c hmod 774 -R /cvs/test/
Note: Apparently, WordPress does not allow me to publish the word “ch”+”mod” as one word. A page comes up with “An appropriate representation of the requested resource /wp-admin/post.php could not be found on this server.” and of course all my work is gone.
In any case, in the last line above, the “c” and the “hmod” should be one word.