[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Unable to delete a subfolder within a folder with RW premission

From: $BN-!!>53W <s-yoo_at_ncontr.com>
Date: Tue, 1 Sep 2020 11:34:49 +0000

Thank you for your reply.
The questions continue from the answers below.
https://issues.apache.org/jira/browse/SVN-4863

$B"((B version
OS:CentOs 7.6.1810
subversion:1.10.2

>> from:Daniel Shahaf - Change [:glob:foo:/bar/**] to [:glob:foo:/bar] (two instances)

I ran the tests and got an error.
I used user01(group01), but I can't even add-commit.
------------------------------
[groups]
group01 = user01
group02 = user02

[/]
@group02 = rw

[:glob:project:/**]
@group01 = r

[:glob:project:/subProject1]
@group01 = rw
------------------------------
-----------------------------------------------------------------------------
C:\$B"#"#"#"#"#(B\project\subProject1>svn add test03.txt
A test03.txt

C:\$B"#"#"#"#"#(B\project\subProject1>svn commit -m "add" --username 8888880000101_at_sample.nec.com --password pass_nexteng2016
Adding test03.txt
Transmitting file data .svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\$B"#"#"#"#"#(B\project\subProject1\test03.txt' is forbidden by the server
svn: E175013: While preparing 'C:\$B"#"#"#"#"#(B\project\subProject1\test03.txt' for commit
svn: E175013: Access to '/project/!svn/wrk/d320c971-04c0-b54b-a1f4-f073653765c0/subProject1/test03.txt' forbidden
-----------------------------------------------------------------------------

>> from:Daniel Shahaf - Please quote the exact error message in the failing case, as well as the exact command that fails, and the URL of the current directory at that point.

This is an error message when deleting test.txt under subProject1 using user01.
However, i can add-commit using user01(group01).
Authorization File
-----------------------------
[groups]
group01 = user01
group02 = user02

[/]
@group02 = rw

[:glob:project:/**]
@group01 = r

[:glob:project:/subProject1/**]
@group01 = rw
------------------------------
-----------------------------------------------------------------------------
C:\$B"#"#"#"#"#(B\project>svn st
D subProject1\test.txt

C:\$B"#"#"#"#"#(B\project>svn commit -m "add" --username user01 --password PASS
Deleting subProject1\test.txt
svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\$B"#"#"#"#"#(B\project\subProject1\test.txt' is forbidden by the server
svn: E175013: Access to '/project/!svn/ver/67/subProject1' forbidden
------------------------------------------------------------------------------

I have a question from now.
Below is the previous Authorization File.(subversion 1.9.5)
-----------------------------
[groups]
group01 = user01
group02 = user02

[/]
@group02 = rw

[project:/]
@group01 = r

[project:/subProject1]
@group01 = rw
------------------------------
In subversion 1.9.5, user01(group01) and user02(group02) can be used to add-commit and delete-commit to subProject1.
If i want the behavior to be the same as V1.9.5, how do i write the Authorization File?

I am in trouble because there is not much information on the Internet.

Thank you.
Received on 2020-09-01 14:07:30 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.