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?
Arpad Biro
__________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash
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
participants (2)
-
Arpad Biro
-
MenTaLguY