Unable to delete a subfolder within a folder with RW premission

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to delete a subfolder within a folder with RW premission

Yoo SeungHyuk(劉 承革)
Thank you for your reply.
The questions continue from the answers below.
https://issues.apache.org/jira/browse/SVN-4863

※ 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:\■■■■■\project\subProject1>svn add test03.txt
A         test03.txt

C:\■■■■■\project\subProject1>svn commit -m "add" --username [hidden email] --password pass_nexteng2016
Adding         test03.txt
Transmitting file data .svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\■■■■■\project\subProject1\test03.txt' is forbidden by the server
svn: E175013: While preparing 'C:\■■■■■\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:\■■■■■\project>svn st
D       subProject1\test.txt

C:\■■■■■\project>svn commit -m "add" --username user01 --password PASS
Deleting       subProject1\test.txt
svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\■■■■■\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.
Reply | Threaded
Open this post in threaded view
|

取り消し: Unable to delete a subfolder within a folder with RW premission

Yoo SeungHyuk(劉 承革)
Yoo SeungHyuk(劉 承革) はメッセージ - "Unable to delete a subfolder within a folder with RW premission" を取り消します。
Reply | Threaded
Open this post in threaded view
|

Unable to delete a subfolder within a folder with RW premission

Yoo SeungHyuk(劉 承革)
In reply to this post by Yoo SeungHyuk(劉 承革)
Thank you for your reply.
The questions continue from the answers below.
https://issues.apache.org/jira/browse/SVN-4863

※ 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:\■■■■■\project\subProject1>svn add test03.txt
A         test03.txt

C:\■■■■■\project\subProject1>svn commit -m "add" --username user01 --password PASS
Adding         test03.txt
Transmitting file data .svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\■■■■■\project\subProject1\test03.txt' is forbidden by the server
svn: E175013: While preparing 'C:\■■■■■\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:\■■■■■\project>svn st
D       subProject1\test.txt

C:\■■■■■\project>svn commit -m "add" --username user01 --password PASS
Deleting       subProject1\test.txt
svn: E195023: Commit failed (details follow):
svn: E195023: Changing file 'C:\■■■■■\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.