{
    "mode": "man",
    "parameter": "svnwrap",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/svnwrap/1/json",
    "generated": "2026-06-15T16:14:53Z",
    "synopsis": "svnwrap {program} [args...]",
    "sections": {
        "NAME": {
            "content": "svnwrap - Umask wrapper for subversion client commands\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "svnwrap {program} [args...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "svnwrap  is  a simple shell script to work around permission problems when sharing Subversion\nrepositories between multiple local users.  svnwrap can be used either by specifying  a  par‐\nticular  subversion client command on the command line, or by invoking it by the same name as\nthe desired client command, via a symlink.\n\nsvnwrap sets the umask to 002, then launches the appropriate subversion client command.   For\ncomplicated  reasons, this is needed when using the clients with BDB-format repositories, but\nnot for FSFS-format ones.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "To create a new BDB-format shared  repository  (note  that  FSFS-format  shared  repositories\nshould also be created this way):\n\nsvnwrap svnadmin create --fs-type=bdb /path/to/repo\nchgrp -R sharedgroup /path/to/repo\n\nThe following line in /etc/inetd.conf can be used to serve svn:// URLs:\n\nsvn stream tcp nowait mysvnuser /usr/bin/svnwrap svnserve svnserve -i -r /srv/svn\n\nThe following commands enable use of svnwrap for local file:/// and remote svn+ssh:// URLs:\n\nln -s /usr/bin/svnwrap /usr/local/bin/svn\nln -s /usr/bin/svnwrap /usr/local/bin/svnserve\n\nsvn  is  used  for local file:/// URLs, and svnserve is invoked by remote users of svn+ssh://\nURLs.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "If you symlink the svn binary to svnwrap, as shown in one of the examples, all  local  users'\nworking  copies will also use the new umask.  Be sure to warn your users about this, as secu‐\nrity-related surprises are rarely pleasant.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "svnserve(8), svn(1), svnlook(1).\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "svnwrap and this manual were written by Peter Samuelson for the Debian Project  (but  may  be\nused by others).\n\n\n\n2006-04-21                                   SVNWRAP(1)",
            "subsections": []
        }
    },
    "summary": "svnwrap - Umask wrapper for subversion client commands",
    "flags": [],
    "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 sharedgroup /path/to/repo",
        "The following line in /etc/inetd.conf can be used to serve svn:// URLs:",
        "svn stream tcp nowait mysvnuser /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."
    ],
    "see_also": [
        {
            "name": "svnserve",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svnserve/8/json"
        },
        {
            "name": "svn",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/svn/1/json"
        },
        {
            "name": "svnlook",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/svnlook/1/json"
        }
    ]
}