24 Apr
2004
24 Apr
'04
6:08 p.m.
On Fri, 2004-04-23 at 15:46, Arpad Biro wrote:
Hi,
I committed a new file (tutorial-basic.fr.svg) to the CVS, but after committing I realized that the file permissions only allow root to read the file:
-rw------- 1 root root 230925 apr 23 21:20 tutorial-basic.fr.svg
So my question is: after a chmod + commit, will the permissions of the file in CVS change appropriately?
CVS really only retains the execute bit. The files in the CVS repository themselves are always either -r--r--r-- or -r-xr-xr-x.
On checkout, I think the permissions you get in your working copy are:
( repository_perms | 0222 ) & ~umask
It might actually force its own umask to 0002; I forget the exact behavior at the moment.
-mental