开发者

How to hook chmod a+r to svn-controlled files?

I have a webpage I'm in charge of and I've placed it inside my SVN trunk. Every time I update files I need to chmod a+r them (I think since svn up unhooks the files first and then it recreates them with the default mask which gives no read access).

As you can infer, the webserver lives in unixland, I would like to arrange that all the svn-controlled files in some subdirectory will have a+r access mo开发者_运维问答de. is this a task for a special umask? or a svn hook?

I have no idea...

Thanks!


What is your UMASK set to? When I do a checkout on Subversion, my permissions are rw-r--r-- for files and rwxr-xr-x for directories.

There's no Subversion hook for mere updates or checkouts.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜