Is it possible in SVN to set write permission for a single file, while all the rest of the repository is read only.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No, it is not possible to set permissions on file level. You either can use a pre-commit hook, or if you use svn 1.6, you can move the file into a new directory and place a file external in your old directory. You can then modify the permissions on the new directory.
Note that file externals are working only on text files. binary files are not supoorted at the moment.
回答2:
Another possibility is the pre-commit hook script.
回答3:
you could try doing it with apache location if your accesing via webdav