Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/svnserver.xml

    ra7e1ac8 r2037ec4  
    8181<screen role="root"><userinput>groupadd -g 57 svntest &amp;&amp;
    8282usermod -G svntest -a svn</userinput></screen>
     83
     84      <para>Additionally you should set <command>umask 002</command> while
     85      working with a repository so that all new files will be writable by
     86      owner and group. This is made mandatory by creating a wrapper script for
     87      <command>svn</command> and <command>svnserve</command>:</para>
     88
     89<screen role="root"><userinput>mv /usr/bin/svn /usr/bin/svn.orig &amp;&amp;
     90mv /usr/bin/svnserve /usr/bin/svnserve.orig &amp;&amp;
     91cat &gt;&gt; /usr/bin/svn &lt;&lt; "EOF"
     92<literal>#!/bin/sh
     93umask 002
     94/usr/bin/svn.orig "$@"</literal>
     95EOF
     96cat &gt;&gt; /usr/bin/svnserve &lt;&lt; "EOF"
     97<literal>#!/bin/sh
     98umask 002
     99/usr/bin/svnserve.orig "$@"</literal>
     100EOF
     101chmod 0755 /usr/bin/svn{,serve}</userinput></screen>
     102
     103      <note>
     104        <para>If you use <application>Apache</application> for working with
     105        the repository over HTTP, even for anonymous access, you should wrap
     106        <command>/usr/sbin/httpd</command> in a similar script.</para>
     107      </note>
    83108
    84109    </sect3>
Note: See TracChangeset for help on using the changeset viewer.