How to control file permissions in CVS repository? -
currently users have umask set in ways result in execute permission on regular files, i'd avoid.
is there way force files checked in read exceptions?
what recommended way handle in cvs?
i not sure if best solution, cvswrappers file in cvsroot directory of repo, using commitinfo, commitcheck , commit_prep.pl. if don't have commit_prep.pl, can use one:
http://opensource.apple.com/source/cvs/cvs-29/cvs/contrib/commit_prep.pl
there quite few examples on web, search commit* files if don't have in repo.
note that, post suggests, permission set during first commit of file, after that, you'd need "manually" modify permission on repository itself.
how add execute permission file in cvs after it's been checked in?
in commit_prep.pl, can clear exec permission using chmod ugo-x , before file committed first time.
this solution assumes using linux.
Comments
Post a Comment