Unable to checkout files: Can't open file: Permission denied
This is my configuration. DAV svn SVNParentPath /home/magnet/myrepository/ The checkout command runs fine: svn co http://localhost/myrepository/hachumachu However, the commit command results in this error: mag...@faku:~/hachumachu$ svn commit -m "Additional line" svn: Commit failed (details follow): svn: Can't open file '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission denied This appears in my Apache error log: [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Could not create activity /myrepository/hachumachu/!svn/act/a3cb143e-3098-499b-b7d1-5d5b7e982881. [500, #0] [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] could not begin a transaction [500, #13] [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Can't open file '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission denied [500, #13] In case you want to see the permissions on the folders. mag...@faku:~/myrepository$ ls -l total 12 drwxr-xr-x 4 magnet magnet 4096 2010-04-11 18:13 ondalabondala drwxr-xr-x 6 magnet magnet 4096 2010-04-11 18:12 hachumachu drwxr-xr-x 6 magnet magnet 4096 2010-04-11 19:36 haggupaggu Please help.
Re: Unable to checkout files: Can't open file: Permission denied
I did that. I ran these two commands. chgrp -R www-data myrepository chown -R 770 myrepository Now, I get this error: $ svn commit -m "Updating" svn: Commit failed (details follow): svn: Could not open the requested SVN filesystem Please help. On Wed, Apr 14, 2010 at 1:59 AM, Erik Andersson wrote: > The user running apache needs write access to your repository. > Cheers / Erik > > On Tue, Apr 13, 2010 at 10:01 PM, Disc Magnet wrote: >> >> This is my configuration. >> >> >> DAV svn >> SVNParentPath /home/magnet/myrepository/ >> >> >> The checkout command runs fine: >> >> svn co http://localhost/myrepository/hachumachu >> >> However, the commit command results in this error: >> >> mag...@faku:~/hachumachu$ svn commit -m "Additional line" >> svn: Commit failed (details follow): >> svn: Can't open file >> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission >> denied >> >> This appears in my Apache error log: >> >> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Could not create >> activity >> /myrepository/hachumachu/!svn/act/a3cb143e-3098-499b-b7d1-5d5b7e982881. >> [500, #0] >> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] could not begin >> a transaction [500, #13] >> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Can't open file >> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission >> denied [500, #13] >> >> In case you want to see the permissions on the folders. >> >> mag...@faku:~/myrepository$ ls -l >> total 12 >> drwxr-xr-x 4 magnet magnet 4096 2010-04-11 18:13 ondalabondala >> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 18:12 hachumachu >> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 19:36 haggupaggu >> >> Please help. > >
Re: Unable to checkout files: Can't open file: Permission denied
I could resolve the issue by adding www-data as a group owner of all the directories files in the repository. Thanks Erik. Jeremy, yes, I meant chmod. I typed it 'chown' instead by mistake. On Wed, Apr 14, 2010 at 6:35 PM, Jeremy Mordkoff wrote: > > > did you mean > chmod -R 770 myrepository > ? > > > -Original Message- > From: Disc Magnet [mailto:discmag...@gmail.com] > Sent: Tue 4/13/2010 5:27 PM > To: Erik Andersson > Cc: users@subversion.apache.org > Subject: Re: Unable to checkout files: Can't open file: Permission denied > > I did that. I ran these two commands. > > chgrp -R www-data myrepository > chown -R 770 myrepository > > Now, I get this error: > > $ svn commit -m "Updating" > svn: Commit failed (details follow): > svn: Could not open the requested SVN filesystem > > Please help. > > On Wed, Apr 14, 2010 at 1:59 AM, Erik Andersson wrote: >> The user running apache needs write access to your repository. >> Cheers / Erik >> >> On Tue, Apr 13, 2010 at 10:01 PM, Disc Magnet >> wrote: >>> >>> This is my configuration. >>> >>> >>> DAV svn >>> SVNParentPath /home/magnet/myrepository/ >>> >>> >>> The checkout command runs fine: >>> >>> svn co http://localhost/myrepository/hachumachu >>> >>> However, the commit command results in this error: >>> >>> mag...@faku:~/hachumachu$ svn commit -m "Additional line" >>> svn: Commit failed (details follow): >>> svn: Can't open file >>> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission >>> denied >>> >>> This appears in my Apache error log: >>> >>> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Could not create >>> activity >>> /myrepository/hachumachu/!svn/act/a3cb143e-3098-499b-b7d1-5d5b7e982881. >>> [500, #0] >>> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] could not begin >>> a transaction [500, #13] >>> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Can't open file >>> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission >>> denied [500, #13] >>> >>> In case you want to see the permissions on the folders. >>> >>> mag...@faku:~/myrepository$ ls -l >>> total 12 >>> drwxr-xr-x 4 magnet magnet 4096 2010-04-11 18:13 ondalabondala >>> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 18:12 hachumachu >>> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 19:36 haggupaggu >>> >>> Please help. >> >> > >
Re:
On Mon, Jun 21, 2010 at 9:42 PM, Myname Noname wrote: > > Hello, > > I have the following quesions on Subversion: > > 1: Does SubVersion provide version control for binaries, executables files? Yes. shoo shoo shoo. > > 2: Does SubVersion provide version control for documentation? If yes, what > formats of document are supported? Since it can version control any file, it can version control your documents too. harr harr harr.