I'm trying to setup a CVS server with ssh access and I'm facing a strange problem. I want to have several projects in my repository and control the access to those projects using group permissions (as explained in CVS documentation). I want to deny access to any user that doesn't belong to the group that owns the files of a certain project inside the repository, so I want to give no permissions for others.
The problem comes when trying to do this. I put CVSUMASK=007 in a file in /etc/env.d/, run env-update, and add a directory to the repository. The new directory is created with rwxrwsr-x permissions (I guess taken from umask and the permissions from parent directory, that is rwxrws---) ignoring the CVSUMASK variable. If I put the definition of the variable in .bashrc with export CVSUMASK=007, then the directory is created with the right permissions (rwxrws---). In the tow cases, if I login (through ssh) with the user I'm creating the directory, and execute echo $CVSUMASK, I obtain the same result: 007.
I'm really puzzled about this, and would really appreciate if somebody could explain me why this is happening, as I don't want to have to include the export CVSUMASK=007 in every .bashrc of every user with CVS access.
Regards Jose
-- [EMAIL PROTECTED] mailing list
