# man > svnwrap(1)

[SVNWRAP(1)](https://www.chedong.com/phpMan.php/man/SVNWRAP/1/markdown)                             General Commands Manual                            [SVNWRAP(1)](https://www.chedong.com/phpMan.php/man/SVNWRAP/1/markdown)



## NAME
       svnwrap - Umask wrapper for subversion client commands

## SYNOPSIS
       **svnwrap** {**program**} [_args..._]

## DESCRIPTION
       **svnwrap**  is  a simple shell script to work around permission problems when sharing Subversion
       repositories between multiple local users.  **svnwrap** can be used either by specifying  a  par‐
       ticular  **subversion** client command on the command line, or by invoking it by the same name as
       the desired client command, via a symlink.

       **svnwrap** sets the _umask_ to 002, then launches the appropriate **subversion** client command.   For
       complicated  reasons, this is needed when using the clients with _BDB_-format repositories, but
       not for _FSFS_-format ones.

## EXAMPLES
       To create a new BDB-format shared  repository  (note  that  FSFS-format  shared  repositories
       should also be created this way):

       svnwrap svnadmin create --fs-type=bdb _/path/to/repo_
       chgrp -R _shared_group_ _/path/to/repo_

       The following line in _/etc/inetd.conf_ can be used to serve _svn://_ URLs:

       svn stream tcp nowait _my_svn_user_ /usr/bin/svnwrap svnserve svnserve -i -r _/srv/svn_

       The following commands enable use of **svnwrap** for local _file:///_ and remote _svn+ssh://_ URLs:

       ln -s /usr/bin/svnwrap /usr/local/bin/svn
       ln -s /usr/bin/svnwrap /usr/local/bin/svnserve

       **svn**  is  used  for local _file:///_ URLs, and **svnserve** is invoked by remote users of _svn+ssh://_
       URLs.

## BUGS
       If you symlink the **svn** binary to **svnwrap**, as shown in one of the examples, _all_  _local_  _users'_
       _working_  _copies_ _will_ _also_ _use_ _the_ _new_ _umask_.  Be sure to warn your users about this, as secu‐
       rity-related surprises are rarely pleasant.

## SEE ALSO
       [**svnserve**(8)](https://www.chedong.com/phpMan.php/man/svnserve/8/markdown), [**svn**(1)](https://www.chedong.com/phpMan.php/man/svn/1/markdown), [**svnlook**(1)](https://www.chedong.com/phpMan.php/man/svnlook/1/markdown).

## AUTHOR
       **svnwrap** and this manual were written by Peter Samuelson for the Debian Project  (but  may  be
       used by others).



                                             2006-04-21                                   [SVNWRAP(1)](https://www.chedong.com/phpMan.php/man/SVNWRAP/1/markdown)
