SVN是否允许空白为SVN权威性文件规则的路径? [英] Does SVN allows blanks in paths for svn auth file rules?
问题描述
我们目前有包含空格,并在SVN权威性文件规则的一部分目录的问题。因此,我们希望有基于路径的授权,并有一个包含以下文件:
We currently have problems with directories that contain blanks and are part of rules in the svn auth file. So we want to have path based authorization, and have a file that contains the following:
[/]
* = rw
[/junk of me]
* =
me = rw
当我清空认证数据和检验我的仓库的根为我
,我看到根目录和子目录垃圾我
。当我加我的垃圾中的一个文件,并尝试提交的其他用户,允许我这样做。它看起来像我
的垃圾的规则根本不工作。
When I clear the authentication data and checkout the root of my repository as me
, I see the root directory and the sub-directory junk of me
. When I add a file inside of junk of me
, and try it to commit as another user, I am allowed to do that. It looks like the rule for junk of me
does not work at all.
我曾尝试以下变化,但没有任何区别可言:
I have tried the following variations, but had no difference at all:
-
[/我的垃圾]
-
[/ \\垃圾\\我]
-
[/垃圾%20of%20me]
[/junk of me]
[/junk\ of\ me]
[/junk%20of%20me]
有没有一种方法,以在其与空白目录,并在SVN AUTH文件中定义的规则?
Is there a way to have directories with blanks in it, and define rules in the svn auth file?
推荐答案
我有这个问题,偶然发现了这个网页,看到没有没有赐的答案。
I had this problem and stumbled upon this page and saw there is no answer given yet.
[/junk of me]
* =
完美的作品对我来说。
works perfectly for me.
这将是有益的使用svnauthz-验证为我的真正的问题是其他地方在AuthZ的文件,检查文件AuthZ的
It would be helpful to check the authz file using svnauthz-validate as my real problem was else where in authz file.
这篇关于SVN是否允许空白为SVN权威性文件规则的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!