Difference: VersionStuff (2 vs. 3)

Revision 32005-10-06 - MichaelSpear

Line: 1 to 1
 
META TOPICPARENT name="TechTalk"

Version Control Software

Line: 78 to 78
  chown -R :bikinibottom pineapple
Changed:
<
<
chmod -R g+r *
>
>
chmod -R g+r pineapple
 
Changed:
<
<
chmod -R g+w *
>
>
chmod -R g+w pineapple
 
2. Remove World Permissions
We don't want anyone else to have access to this repository, so let's lock them out:
Changed:
<
<
chmod -R a-r pineapple
>
>
chmod -R o-r pineapple
 
Changed:
<
<
chmod -R a-w pineapple
>
>
chmod -R o-w pineapple
 
Changed:
<
<
chmod -R a-x pineapple
>
>
chmod -R o-x pineapple
 
3. Set the setUID and setGID bits
I don't know if you really need to do this, but we'll recommend it here, and if it messes up someone's repository, then we'll change the wiki later. The main idea is that we want to make sure that whatever is added to the repository still belongs to spongebob.
Changed:
<
<
chmod u+s pineapple
>
>
chmod u+s pineapple/locks
 
Changed:
<
<
chmod g+s pineapple
>
>
chmod g+s pineapple/locks

chmod u+s pineapple/db

chmod g+s pineapple/db

chmod u+s pineapple/db/revprops

chmod g+s pineapple/db/revprops

chmod u+s pineapple/db/revs

chmod g+s pineapple/db/revs

chmod u+s pineapple/db/transactions

chmod g+s pineapple/db/transactions

 

That was a lot of work

True, but you only have to do it once per repository.
Added:
>
>

Is everything definitely secure?

If you trust everyone in your group, then you've probably got the necessary security in place (if not, update the wiki). You can play with the permissions within /u/spongebob/repos/pineapple, but if you make a mistake your collaborators may be temporarily prevented from checking in/out, or you might end up having files in your repository that are owned by someone else.
 

Am I done?

No, now your repository is set up, and the files originally in /u/spongebob/pineapple have been copied over. But you still need to check out a copy of the repository to do real work.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback