Subversion Access/Apache/Fedora 9
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    harveybetty Guest

    Subversion Access/Apache/Fedora 9

    When trying to commit files to Subversion using Windows Tortoise Client, the following
    error appears:

    Can't open file '/var/www/html/svn/IETM38784C/db/write-lock'; permission denied

    Apache is the owner and group owner of the files. I also performed a "chmod -R 777"
    on the files just to make sure it wasn't file permission error.

    I had a disk crash so I got a new disk and upgraded from Fedora 6 to Fedora 9 so I
    thinking is that there may be some security issues in Fedora 9 that I am not
    aware of.

    I had the repository password protected but took the protections off until I can
    resolve this problem.

    Thanks!

    Betty

  2. #2
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    51
    Posts
    3,947
    Subversion using Windows Tortoise Client
    question how are you connecting to fedora 9 from a windows machine with samba or is 9 set up as a server and just using http /ftp
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  3. #3
    harveybetty Guest
    Quote Originally Posted by JohnVV
    question how are you connecting to fedora 9 from a windows machine with samba or is 9 set up as a server and just using http /ftp
    I have Subversion working with Apache. I can access the repository using httpd and
    browse the repository.

    On Windows machine I am using Tortoise. I am able to download what the files that
    are already in the repository. I get the error when I I try to commit files from Windows to Subversion using Tortoise.

    Thanks!

    Betty

  4. #4
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    51
    Posts
    3,947
    it may be an httpd.conf problem in Apache have you set the
    < directory>

    < /directory>
    for the Subversion folder .i am a bit rusty in configuring Apache it has been about 2
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  5. #5
    harveybetty Guest
    Quote Originally Posted by JohnVV
    it may be an httpd.conf problem in Apache have you set the
    < directory>

    < /directory>
    for the Subversion folder .i am a bit rusty in configuring Apache it has been about 2
    Yes, the directory is pointing to the right directory. I even changed "AllowOverrides" from
    None to All.

    Unfortunately I can't look at my last configuration file because the disk is DOA. Nasty thunderstorms took care of it.

    Thanks!

    Betty

  6. #6
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    51
    Posts
    3,947
    i have not ran into this myself .A guess ,one of many, take a look at the SELinux Troubleshooter log and see if there is a listing
    temporally disable SE and give commit a go
    if it works then SE will need a policy added
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  7. #7
    harveybetty Guest

    Subversion Solved!

    Quote Originally Posted by JohnVV
    i have not ran into this myself .A guess ,one of many, take a look at the SELinux Troubleshooter log and see if there is a listing
    temporally disable SE and give commit a go
    if it works then SE will need a policy added
    Thank you, thank you, thank you - I would have never ever looked there! I hadn't even
    heard of SELinux. Now I know

    Basically, I ran the following command and Subversion is working like a charm again!

    echo "0" >/selinux/enforce

    Thanks again - I would have been running in circles for a very long time!

    Betty

  8. #8
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    51
    Posts
    3,947
    on a server you will want se turned on
    setenforce=1
    you should be able to find out why se was blocking it from
    Applications/System Tools/ SELinux Troubleshooter
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

Similar Threads

  1. Fedora 7 Subversion with Apache
    By fljmayer in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 25th July 2007, 04:05 PM
  2. Replies: 2
    Last Post: 16th January 2007, 04:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •