[svnbook] r4036 committed - * en/book/ch05-repository-admin.xml,...
svnbook at googlecode.com
svnbook at googlecode.com
Fri Aug 26 10:12:43 CDT 2011
Revision: 4036
Author: cmpilato at gmail.com
Date: Fri Aug 26 08:11:50 2011
Log: * 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=4036
Modified:
/trunk/en/book/ch05-repository-admin.xml
/trunk/en/book/ch09-reference.xml
=======================================
--- /trunk/en/book/ch05-repository-admin.xml Thu Aug 25 12:52:35 2011
+++ /trunk/en/book/ch05-repository-admin.xml Fri Aug 26 08:11:50 2011
@@ -799,8 +799,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,
@@ -824,7 +825,12 @@
</informalexample>
<para>After running this simple command, you have a Subversion
- repository.</para>
+ repository. Depending on how users will access this
+ repository, you might need to fiddle with the filesystem
+ permissions of your new repository. 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
=======================================
--- /trunk/en/book/ch09-reference.xml Thu Aug 25 12:52:35 2011
+++ /trunk/en/book/ch09-reference.xml Fri Aug 26 08:11:50 2011
@@ -5884,7 +5884,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 the <command>svnadmin
+ create</command> as a user with elevated privileges
+ (such as the <literal>root</literal> user).</para>
</refsect1>
@@ -5911,7 +5915,9 @@
<informalexample>
<screen>
-$ svnadmin create /var/svn/repos
+$ cd /var/svn
+$ svnadmin create repos
+$
</screen>
</informalexample>
@@ -5923,7 +5929,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