I am trying to use path-based -authorization. I have a working repository as follows:
C:/SVNRepository/Test_Parent_folder/Test_child/test.txt
, that I need to restrict for user 'agupta'. My server URL is :
http://ofsvn/repos/TEST_AG/TEST_AG_child/test.txt
In the authz file, I am trying to write :
[/TEST_AG/TEST_AG_child/test.txt]
agupta = r
I have also tried
[repos:/TEST_AG/TEST_AG_child/test.txt]
agupta = r
but it doesn't seem to be work as I can commit this file. I have already added 'authz-db = authz' to the svnserve.conf.
Can you please let me know what might be the reason that it doesn't work for me.