Commit doesn't work in Apache SVN authorization

Discussion in 'Apache' started by Noor_, Nov 10, 2016.

  1. #2
    Below is the current SVN repo structure.

    - Repos
    --directory1
    --directory2
    --directory3
    --directory4
    --guest_directory


    There are two user groups regular_user and guest_user. regular_user should have both readand write access to all directories including the guest_directory while the guest_usershould have read and write access to guest_directory and no access to all other directories.

    Below is what I tried


    [groups]
    regular_user = regular_user1, regular_user2, regular_user_n
    guest_user = guest_user1, guest_user1, guest_user_n


    [directory1:/]
    @regular_user = rw
    @regular_user = r

    [directory2:/]
    @regular_user = rw
    @regular_user = r

    [directory3:/]
    @regular_user = rw
    @regular_user = r

    [directory4:/]
    @regular_user = rw
    @regular_user = r

    [guest_directory:/]
    @regular_user = rw
    @regular_user = r
    @guest_user = rw
    @guest_user = r


    Problem: update is working fine from client but commit is not working

    Error Message: Commit failed (details follow): Access to '/svn/guest_directory/!svn/me' forbidden

    Environment: Ubuntu
     
    Noor_, Nov 10, 2016 IP