How do I add execute permission to a file in CVS after it's already been checked in?

馋奶兔 提交于 2019-12-01 03:11:43
Alex B

Modify the permissions of the related ,v file in the repository. Per this article, the file is checked out with the same permissions as the ,v file in CVSROOT.

zhrist

Cvs command option watch is also preventing file permissions to be restored. If watched, when file is checked out it will be read-only. From cvs man pages:

$ cvs watch --help_options

Usage: cvs watch {on|off|add|remove} [-lR] [-a <action>]... [<path>]...

on/off: turn on/off read-only checkouts of files

So, use cvs watch off filename to remove checkout from repository making it read only every time.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!