You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Amol Karnik <am...@coventor.com> on 2005/06/14 21:32:31 UTC

furstrated: repos/format permission denied error with apache

hi,

i googled and searched various archives. many people seemed to have 
posted about this, but there are no solutions.

i just setup apache2.0 with mod_dav_svn and svn1.2
i configured apache by following the instructions according to the svn 
online book at tigris.

i keep getting the error :
[Tue Jun 14 16:18:09 2005] [error] [client 127.0.0.1] (20014)Error 
string not specified yet: Can't open file 
'/var/svn/rep/mysource/format': Permission denied


in the apache logs, whenever i try to access the repository.

I have apache running as the user "svn" and my svn dir is owned by the 
user and group "svn" The file permissions are fine.

I think the svn book has forgotten some critical info needed to 
configure apache, because so many people have had this problem.

i'm running on redhat enterprise 4.0

thanks!

- amol



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: furstrated: repos/format permission denied error with apache

Posted by Frank Gruman <fg...@verizon.net>.
My 2 cents -

Make certain that the whole repository is read/writable by the user 
running the Apache engine.  If not, you won't be able to do anything.

Regards,
Frank

Ryan Schmidt wrote:

> On 14.06.2005, at 23:32, Amol Karnik wrote:
>
>> i just setup apache2.0 with mod_dav_svn and svn1.2
>> i configured apache by following the instructions according to the  
>> svn online book at tigris.
>>
>> i keep getting the error :
>> [Tue Jun 14 16:18:09 2005] [error] [client 127.0.0.1] (20014)Error  
>> string not specified yet: Can't open file '/var/svn/rep/mysource/ 
>> format': Permission denied
>>
>>
>> in the apache logs, whenever i try to access the repository.
>>
>> I have apache running as the user "svn" and my svn dir is owned by  
>> the user and group "svn" The file permissions are fine.
>>
>> I think the svn book has forgotten some critical info needed to  
>> configure apache, because so many people have had this problem.
>>
>> i'm running on redhat enterprise 4.0
>
>
> Is this the SELinux problem?
>
> http://subversion.tigris.org/faq.html#reposperms
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: furstrated: repos/format permission denied error with apache

Posted by Amol Karnik <am...@coventor.com>.
you got it!
I had to do the chcon command to get this thing to work on RHEL 4.

thanks very much!

- amol


Ryan Schmidt wrote:

> On 14.06.2005, at 23:32, Amol Karnik wrote:
>
>> i just setup apache2.0 with mod_dav_svn and svn1.2
>> i configured apache by following the instructions according to the  
>> svn online book at tigris.
>>
>> i keep getting the error :
>> [Tue Jun 14 16:18:09 2005] [error] [client 127.0.0.1] (20014)Error  
>> string not specified yet: Can't open file '/var/svn/rep/mysource/ 
>> format': Permission denied
>>
>>
>> in the apache logs, whenever i try to access the repository.
>>
>> I have apache running as the user "svn" and my svn dir is owned by  
>> the user and group "svn" The file permissions are fine.
>>
>> I think the svn book has forgotten some critical info needed to  
>> configure apache, because so many people have had this problem.
>>
>> i'm running on redhat enterprise 4.0
>
>
> Is this the SELinux problem?
>
> http://subversion.tigris.org/faq.html#reposperms
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: furstrated: repos/format permission denied error with apache

Posted by Ryan Schmidt <su...@ryandesign.com>.
On 14.06.2005, at 23:32, Amol Karnik wrote:

> i just setup apache2.0 with mod_dav_svn and svn1.2
> i configured apache by following the instructions according to the  
> svn online book at tigris.
>
> i keep getting the error :
> [Tue Jun 14 16:18:09 2005] [error] [client 127.0.0.1] (20014)Error  
> string not specified yet: Can't open file '/var/svn/rep/mysource/ 
> format': Permission denied
>
>
> in the apache logs, whenever i try to access the repository.
>
> I have apache running as the user "svn" and my svn dir is owned by  
> the user and group "svn" The file permissions are fine.
>
> I think the svn book has forgotten some critical info needed to  
> configure apache, because so many people have had this problem.
>
> i'm running on redhat enterprise 4.0

Is this the SELinux problem?

http://subversion.tigris.org/faq.html#reposperms



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: furstrated: repos/format permission denied error with apache

Posted by Christopher Ness <ch...@nesser.org>.
On Tue, 2005-14-06 at 17:32 -0400, Amol Karnik wrote:
> i'm running on redhat enterprise 4.0

Did you read this FAQ on the site about permissions and SELinux with
RHE?
     http://subversion.tigris.org/faq.html#reposperms

Other than that check out Chapter 6 in the book.  The link is given in
the text answer above.

Cheers,
Chris
-- 
PGP Public Key: http://www.nesser.org/pgp-key/
20:41:24 up 20 min, 3 users, load average: 0.77, 0.60, 0.38