Thursday, June 26, 2008

setting up subversion over svn+ssh

Consolidating this process, so I don't forget it:

create user svn
lock svn account (sudo passwd -l svn)
sudo -u svn -s
go to /home/svn/
svnadmin create [repository directory here]
chmod g+s [repository directory]/db

URL of repository will be: svn+ssh://username@hostname/home/svn/[repository directory]

Be sure to follow these tips from the svn book:
  • All of your SSH users need to be able to read and write to the repository. Put all the SSH users into a single group. Make the repository wholly owned by that group, and set the group permissions to read/write.

  • Your users need to use a sane umask when accessing the repository. Make sure that svnserve (/usr/local/bin/svnserve, or wherever it lives in $PATH) is actually a wrapper script which sets umask 002 and executes the real svnserve binary. Take similar measures when using svnlook and svnadmin. Either run them with a sane umask, or wrap them as described above.

  • When BerkeleyDB creates new logfiles, they need to be owned by the group as well, so make sure you run chmod g+s on the repository's db directory.


The umask point can be accomplished by using scripts like this:
$ cat /usr/local/bin/svn

#!/bin/sh

umask 002
/usr/local/subversion/bin/svn "$@"

4 comments:

oakleyigarashi said...

microtouch titanium trim reviews and ratings - iTanium-arts.com
Best MicroTouch Technology - MicroTouch Technology titanium bolts - titanium knee replacement Microtouch Technology snow peak titanium flask - Microtouch Technology - Microtouch Technology - titanium teeth Microtouch Technology - Microtouch Technology - Microtouch Technology - Microtouch citizen titanium watch Technology

tolatheighn said...

like it cheap sex toys,sex toys,realistic sex dolls,dog dildo,sex chair,sex dolls,horse dildo,real dolls,horse dildo try here

soatid said...

t076u3pvmup199 sex chair,penis pumps,Discreet Vibrators,wholesale sex toys,Rabbit Vibrators,Bullets And Eggs,sex toys,dog dildos,sex chair w750m1xxdsl831

6muyzwwf3t said...

The follow has been round since the that} 1980s, when Charles W. Hull invented the process and created the first 3D-printed part. Since then, the field of 3D printing has grown exponentially and holds countless prospects. My only other criticism about the Cube 3's efficiency is that it at all times needs to chill down its print head before you'll be able to|you possibly can} resume printing once more. Since printing a 3D object requires the print head to be heated to melt the filament, the cool-down phase just isn't only a waste of time, but in addition a waste of power if you want to|if you wish to} make multiple of} prints in a row. The software program provides standard customization, together with scaling, layer thickness, filling patterns, Hand Warmer the extent of filling , and so on. You can also use the software program to connect to|to hook up with|to connect with} your account and get extra 3D fashions from the Cubify group.