Tags:
view all tags
---++ Permissions Users of CVS have to take some one-time steps so that the permissions of files the commit will be correct. (Otherwise, other uses will be unable to modify or even update files that such users have created.) 1. Set up permissions so all files are group writable. All directories need to be group rwx. (as far as I know, this is already done in /ai/kevinlb/cvs, for the group klb). 1. Copy the file from =<repository directory>/hooks/post-commit.tmpl= to =<repository directory>/hooks/post-commit= and add the lines: * =chgrp -R <groupname> <repository directory>= * =chmod -R g+rwx <repository directory>= Each student will have to do this so that whenever they commit files, the files will get chgrp'ed and chmod'ed. These instructions come from Tim (timkl@cs.ubc.ca); please direct questions to him. ---++ Permissions redux The above didn't seem to always work. Here's something else from Sean Godel: Hi Kevin, so doing more research into this I discovered a few things. If the CVS client is configured to go through okanagan then group inheritance is preserved. If it goes through cascade group inheritance is preserved for the first directory created but nothing after that. This might be an issue with NFSv4 and the NetApp as we have discovered other Unix conventions that operate differently with this mapping. For now I would recommend all your users to switch to okanagan as their contact server. If some have trouble with it, let me know as its most likely their environment which can be easily fixed. ---++ CVS in Windows A good Windows CVS client that integrates with Explorer is [[http://www.Tortoisecvs.org][TortoiseCVS.]] It's open-source. ---++ Setting up a public/private key pair so that you don't have to authenticate every time * In UNIX type =ssh-keygen -t dsa=. * Copy the resulting .pub file to the =.ssh= directory in your UNIX home directory, and append it to the =authorized_keys= file in the same directory. (Create that file if you need to) * Copy the resulting file with no extension (your private key) to the computer you want to connect from * Install [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html][Putty]] * Use the =PuttyGen= program to convert the key to Putty format * Then run the =Pageant= program and add the key that you just created. * To load the key automatically when Windows starts, put =Pageant= in the startup folder, and add the full path to the key (in quotes if necessary) as an argument. * Now you will not be prompted for a password when doing a CVS update with Tortoise. -- Main.KevinLeytonBrown - 16 May 2007
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r10
|
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2007-09-21
-
KevinLeytonBrown
Home
Site map
BETA web
Communications web
Faculty web
Imager web
LCI web
Main web
SPL web
Sandbox web
TWiki web
TestCases web
BETA Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback