[svnbook] r4038 committed - Merge from /trunk/en r4036 and r4037, whose combined log messages...

svnbook at googlecode.com svnbook at googlecode.com
Fri Aug 26 10:20:47 CDT 2011


Revision: 4038
Author:   cmpilato at gmail.com
Date:     Fri Aug 26 08:17:19 2011
Log:      Merge from /trunk/en r4036 and r4037, whose combined log messages
would read something like this:

    * en/book/ch05-repository-admin.xml,
    * en/book/ch09-reference.xml
      Finish issue #66 ("ch05: Point out that the parent path of the
      target passed to 'svnadmin create' must exist"), tweaking examples
      to not imply that 'svnadmin create /var/svn/repos' will create /var
      and /var/svn automatically, and noting that filesystem permissions
      play an effect on this creation step and subsequent access by users.

http://code.google.com/p/svnbook/source/detail?r=4038

Modified:
  /branches/1.6/en
  /branches/1.6/en/book/ch05-repository-admin.xml
  /branches/1.6/en/book/ch09-reference.xml

=======================================
--- /branches/1.6/en/book/ch05-repository-admin.xml	Tue Aug  9 07:57:26 2011
+++ /branches/1.6/en/book/ch05-repository-admin.xml	Fri Aug 26 08:17:19 2011
@@ -800,8 +800,9 @@
        </informalexample>

        <para>Assuming that the parent directory
-        <filename>/var/svn</filename> exists, the previous command
-        creates a new repository in the directory
+        <filename>/var/svn</filename> exists and that you have
+        sufficient permissions to modify that directory, the previous
+        command creates a new repository in the directory
          <filename>/var/svn/repos</filename>, and with the default
          filesystem data store (FSFS).  You can explicitly choose the
          filesystem type using the <option>--fs-type</option> argument,
@@ -825,7 +826,11 @@
        </informalexample>

        <para>After running this simple command, you have a Subversion
-        repository.</para>
+        repository.  Depending on how users will access this new
+        repository, you might need to fiddle with its filesystem
+        permissions.  But since basic system administration is rather
+        outside the scope of this text, we'll leave further
+        exploration of that topic as an exercise to the reader.</para>

        <tip>
          <para>The path argument to <command>svnadmin</command> is just
=======================================
--- /branches/1.6/en/book/ch09-reference.xml	Fri Aug 19 09:34:22 2011
+++ /branches/1.6/en/book/ch09-reference.xml	Fri Aug 26 08:17:19 2011
@@ -5663,7 +5663,11 @@
                <filename>/var/svn/repos</filename> will work, while
                attempting to create
                <filename>/var/svn/subdirectory/repos</filename> will
-              fail with an error.</para>
+              fail with an error.  Also, keep in mind that, depending
+              on where on your system you are creating your
+              repository, you might need to run <command>svnadmin
+              create</command> as a user with elevated privileges
+              (such as the <literal>root</literal> user).</para>

            </refsect1>

@@ -5690,7 +5694,9 @@

            <informalexample>
              <screen>
-$ svnadmin create /var/svn/repos
+$ cd /var/svn
+$ svnadmin create repos
+$
  </screen>
            </informalexample>

@@ -5702,7 +5708,9 @@

            <informalexample>
              <screen>
-$ svnadmin create /var/svn/repos --fs-type fsfs
+$ cd /var/svn
+$ svnadmin create repos --fs-type fsfs
+$
  </screen>
            </informalexample>





More information about the svnbook-dev mailing list