SVN is losing my file permissions
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
精彩评论