Using Eclipse, CVS, Ambient
When you work with a partner using Ambient, Eclipse, and CVS one person
owns the directory in which the code/CVS directory lives. Other team
members have read/write privileges for this directory so that they can
check in and check out code.
To grant other members of your team permission to update access and change
the project files follow these steps:
-
Log onto acpub using ssh. You'll need an ssh client, for windows
machines check
this OIT link. You can use
godzilla.acpub.duke.edu, or one of the teer machines like
teer15.oit.duke.edu as the host address.
- Go to the directory that contains your CVS repository by typing
cd myCVS
- Go to the directory where you put your project, or where
Eclipse/Ambient put your project. If your project is
named "nano" and you put it in the folder "cps108/" when you checked it
in, you will have to type this command
cd cps108/nano
You can always see what folders/files exist in your directory by
using the ls
command (type it at the prompt to see
the contents of the folder/directory you're in.
-
Once you're in that directory
type the following command (where instead of USER
type the netid of the team-member you are giving permissions to):
find . -type d -exec fs setacl {} USER write \;
Be sure to include all parts of that command or it will not work. If you
want to know more about what it does
visit this webpage
- If you want to remove access for the user, type the same command except
replace write with none, effectively:
find . -type d -exec fs setacl {} USER none \;
Owen L. Astrachan
Last modified: Fri Dec 2 12:52:46 EST 2005