You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Indraveni <in...@yahoo.co.in> on 2006/07/22 06:56:31 UTC
Permissions Problem.....
Hi,
I want to use svnserve for accessing the subversion repository. And I created the repos with the following permissions...My repos is like..
svn@BOSS[subversion]#find . -ls
8486915 4 drwxr-xr-x 7 root svn 4096 Jul 22 17:28 .
8486930 4 drwxr-xr-x 2 root svn 4096 Jul 22 17:35 ./conf
8486932 4 -rw-r--r-- 1 root svn 309 Jul 22 17:35 ./conf/passwd
8486931 4 -rw-r--r-- 1 root svn 1445 Jul 22 17:35 ./conf/svnserve.conf
8486933 4 -rw-r--r-- 1 root svn 684 Jul 22 17:28 ./conf/authz
8486935 4 drwxr-sr-x 5 svn svn 4096 Jul 22 17:28 ./db
8486942 4 -rw-r--r-- 1 svn svn 37 Jul 22 17:28 ./db/uuid
8486939 4 drwxr-sr-x 2 svn svn 4096 Jul 22 17:28 ./db/transactions
8486945 4 -r--r--r-- 1 svn svn 2 Jul 22 17:28 ./db/format
8486938 4 drwxr-sr-x 2 svn svn 4096 Jul 22 17:28 ./db/revprops
8486944 4 -rw-r--r-- 1 svn svn 50 Jul 22 17:28 ./db/revprops/0
8486936 4 -rw-r--r-- 1 svn svn 5 Jul 22 17:28 ./db/fs-type
8486941 0 -rw-r--r-- 1 svn svn 0 Jul 22 17:28 ./db/write-lock
8486940 4 -rw-r--r-- 1 svn svn 6 Jul 22 17:28 ./db/current
8486937 4 drwxr-sr-x 2 svn svn 4096 Jul 22 17:28 ./db/revs
8486943 4 -rw-r--r-- 1 svn svn 115 Jul 22 17:28 ./db/revs/0
8486946 4 -r--r--r-- 1 root svn 2 Jul 22 17:28 ./format
8486934 4 -rw-r--r-- 1 root svn 229 Jul 22 17:28 ./README.txt
8486917 4 drwxr-xr-x 2 root svn 4096 Jul 22 17:28 ./locks
8486919 4 -rw-r--r-- 1 root svn 139 Jul 22 17:28 ./locks/db-logs.lock
8486918 4 -rw-r--r-- 1 root svn 139 Jul 22 17:28 ./locks/db.lock
8486916 4 drwxr-xr-x 2 root svn 4096 Jul 22 17:28 ./dav
8486920 4 drwxr-xr-x 2 root svn 4096 Jul 22 17:28 ./hooks
8486924 4 -rw-r--r-- 1 root svn 2040 Jul 22 17:28 ./hooks/pre-lock.tmpl
8486922 4 -rw-r--r-- 1 root svn 2969 Jul 22 17:28 ./hooks/pre-commit.tmpl
8486927 4 -rw-r--r-- 1 root svn 1673 Jul 22 17:28 ./hooks/post-lock.tmpl
8486926 4 -rw-r--r-- 1 root svn 1996 Jul 22 17:28 ./hooks/post-commit.tmpl
8486928 4 -rw-r--r-- 1 root svn 1602 Jul 22 17:28 ./hooks/post-unlock.tmpl
8486923 4 -rw-r--r-- 1 root svn 2764 Jul 22 17:28 ./hooks/pre-revprop-change.tmpl
8486925 4 -rw-r--r-- 1 root svn 1981 Jul 22 17:28 ./hooks/pre-unlock.tmpl
8486921 4 -rw-r--r-- 1 root svn 2137 Jul 22 17:28 ./hooks/start-commit.tmpl
8486929 4 -rw-r--r-- 1 root svn 2290 Jul 22 17:28 ./hooks/post-revprop-change.tmpl
I followed the link http://pixel.global-banlist.de/site/svn/permissions for premissions documentation.
But when I tried to import the repository project then I got the followng error:::
svn@BOSS[root]#svn import BOSS svn+ssh://indraveni@localhost/subversion/BOSS -m "BOSS Repository - 22nd July"
Adding BOSS/Documents
Adding BOSS/Documents/livecddocs
Adding (bin) BOSS/Documents/livecddocs/bootsplash_in_BOSSHOWTO.doc
Adding (bin) BOSS/Documents/livecddocs/testreport.doc
Adding (bin) BOSS/Documents/livecddocs/InstallBOSSusingLivecdHOWTO.doc
Adding (bin) BOSS/Documents/livecddocs/automount_in_bosslivecdHOWTO.doc
Adding BOSS/Documents/livecddocs/knoppixmodlist
Adding BOSS/Documents/livecddocs/linuxrc
Adding BOSS/Documents/livecddocs/livecdcommands
Adding BOSS/Documents/livecddocs/knoppix-moduleslist
Adding BOSS/Documents/livecddocs/index1.html
Adding BOSS/Documents/livecddocs/index2.html
Adding (bin) BOSS/Documents/livecddocs/The Live CD Wrkshop.pdf
svn: Can't create directory '/subversion/db/transactions/0-1.txn': Permission denied
Killed by signal 15.
Can any one tell me where i did the mistake please....
Help will be appreciated..
Thankyou
Indraveni
---------------------------------
Find out what India is talking about on Yahoo! Answers India.
Re: Permissions Problem.....
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 22, 2006, at 08:56, Indraveni wrote:
> I want to use svnserve for accessing the subversion repository. And
> I created the repos with the following permissions...My repos is
> like..
>
> svn@BOSS[subversion]#find . -ls
> 8486915 4 drwxr-xr-x 7 root svn 4096 Jul 22 17:28 .
> 8486930 4 drwxr-xr-x 2 root svn 4096 Jul 22
> 17:35 ./conf
> 8486932 4 -rw-r--r-- 1 root svn 309 Jul 22
> 17:35 ./conf/passwd
> 8486931 4 -rw-r--r-- 1 root svn 1445 Jul 22
> 17:35 ./conf/svnserve.conf
> 8486933 4 -rw-r--r-- 1 root svn 684 Jul 22
> 17:28 ./conf/authz
> 8486935 4 drwxr-sr-x 5 svn svn 4096 Jul 22
> 17:28 ./db
> 8486942 4 -rw-r--r-- 1 svn svn 37 Jul 22
> 17:28 ./db/uuid
> 8486939 4 drwxr-sr-x 2 svn svn 4096 Jul 22
> 17:28 ./db/transactions
> 8486945 4 -r--r--r-- 1 svn svn 2 Jul 22
> 17:28 ./db/format
> 8486938 4 drwxr-sr-x 2 svn svn 4096 Jul 22
> 17:28 ./db/revprops
> 8486944 4 -rw-r--r-- 1 svn svn 50 Jul 22
> 17:28 ./db/revprops/0
> 8486936 4 -rw-r--r-- 1 svn svn 5 Jul 22
> 17:28 ./db/fs-type
> 8486941 0 -rw-r--r-- 1 svn svn 0 Jul 22
> 17:28 ./db/write-lock
> 8486940 4 -rw-r--r-- 1 svn svn 6 Jul 22
> 17:28 ./db/current
> 8486937 4 drwxr-sr-x 2 svn svn 4096 Jul 22
> 17:28 ./db/revs
> 8486943 4 -rw-r--r-- 1 svn svn 115 Jul 22
> 17:28 ./db/revs/0
> 8486946 4 -r--r--r-- 1 root svn 2 Jul 22
> 17:28 ./format
> 8486934 4 -rw-r--r-- 1 root svn 229 Jul 22
> 17:28 ./README.txt
> 8486917 4 drwxr-xr-x 2 root svn 4096 Jul 22
> 17:28 ./locks
> 8486919 4 -rw-r--r-- 1 root svn 139 Jul 22
> 17:28 ./locks/db-logs.lock
> 8486918 4 -rw-r--r-- 1 root svn 139 Jul 22
> 17:28 ./locks/db.lock
> 8486916 4 drwxr-xr-x 2 root svn 4096 Jul 22
> 17:28 ./dav
> 8486920 4 drwxr-xr-x 2 root svn 4096 Jul 22
> 17:28 ./hooks
> 8486924 4 -rw-r--r-- 1 root svn 2040 Jul 22
> 17:28 ./hooks/pre-lock.tmpl
> 8486922 4 -rw-r--r-- 1 root svn 2969 Jul 22
> 17:28 ./hooks/pre-commit.tmpl
> 8486927 4 -rw-r--r-- 1 root svn 1673 Jul 22
> 17:28 ./hooks/post-lock.tmpl
> 8486926 4 -rw-r--r-- 1 root svn 1996 Jul 22
> 17:28 ./hooks/post-commit.tmpl
> 8486928 4 -rw-r--r-- 1 root svn 1602 Jul 22
> 17:28 ./hooks/post-unlock.tmpl
> 8486923 4 -rw-r--r-- 1 root svn 2764 Jul 22
> 17:28 ./hooks/pre-revprop-change.tmpl
> 8486925 4 -rw-r--r-- 1 root svn 1981 Jul 22
> 17:28 ./hooks/pre-unlock.tmpl
> 8486921 4 -rw-r--r-- 1 root svn 2137 Jul 22
> 17:28 ./hooks/start-commit.tmpl
> 8486929 4 -rw-r--r-- 1 root svn 2290 Jul 22
> 17:28 ./hooks/post-revprop-change.tmpl
>
> I followed the link http://pixel.global-banlist.de/site/svn/
> permissions for premissions documentation.
>
> But when I tried to import the repository project then I got the
> followng error:::
>
> svn@BOSS[root]#svn import BOSS svn+ssh://indraveni@localhost/
> subversion/BOSS -m "BOSS Repository - 22nd July"
>
> Adding BOSS/Documents
> Adding BOSS/Documents/livecddocs
> Adding (bin) BOSS/Documents/livecddocs/bootsplash_in_BOSSHOWTO.doc
> Adding (bin) BOSS/Documents/livecddocs/testreport.doc
> Adding (bin) BOSS/Documents/livecddocs/
> InstallBOSSusingLivecdHOWTO.doc
> Adding (bin) BOSS/Documents/livecddocs/
> automount_in_bosslivecdHOWTO.doc
> Adding BOSS/Documents/livecddocs/knoppixmodlist
> Adding BOSS/Documents/livecddocs/linuxrc
> Adding BOSS/Documents/livecddocs/livecdcommands
> Adding BOSS/Documents/livecddocs/knoppix-moduleslist
> Adding BOSS/Documents/livecddocs/index1.html
> Adding BOSS/Documents/livecddocs/index2.html
> Adding (bin) BOSS/Documents/livecddocs/The Live CD Wrkshop.pdf
> svn: Can't create directory '/subversion/db/transactions/0-1.txn':
> Permission denied
> Killed by signal 15.
When you use the svn+ssh protocol, the user as whom you are
connecting (in this case, "indraveni") must have read and write
access to the db and transactions directories. (Giving permissions to
the user "svn" is relevant when using the svn protocol, but not when
using the svn+ssh protocol, since under svn+ssh the "svn" user is
never the one who's starting svnserve.)
There's a section in that permissions documentation you referenced
about the svn+ssh protocol and a wrapper script you could use to help
you out. Have you done that?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org