开发者

SVN is losing my file permissions

开发者 https://www.devze.com 2023-02-21 04:47 出处:网络
I created a new repository and IMPORTED in a project (a web site - so file permissions are quite important).

I created a new repository and IMPORTED in a project (a web site - so file permissions are quite important).

When I checked out the project, I noticed that my carefully set (ugo) permissions on 开发者_如何学运维individual folders had been lost and all folders were assigned u:g to me.

Is this default behavior of SVN - if so, how may I get SVN to store the permissions I have set at folder/file level?

I am running Ubuntu 10.0.4


SVN does not keep file permissions.

To go around this you can use:

getfacl -R dirname > filname.perm <- Backup

And to restore use:

setfacl --restore=filname.perm <- Restore

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号