I hope this hasn't been asked a million times before but I can really
use some help.
I have a Sun Workstation using SunOS 5.6 running Samba 2.6. I have
shared a directory for my CVSROOT. I can successfully mount and modify
and checkin and checkout files using cvs from my NT workstation and all
seemed to be okay.
I am using the directory as a :local:/repositorydir. I am NOT usign
pserver.
The problem comes when I try to modify a file checked in from someone
else. The permissions set in the repository are:
drwxrwxr-x mylogin mygroup myfolder // the folder
|
|- -r--r--r-- otherlogin mygroup
otherfile,v
where mylogin is my login name, mygroup is my group name, same for
Samba and Unix, and my folder is the module folder.
and otherlogin is the other persons login namd and otherfile,v is the
file he checked in.
When on Unix cvs commit somehow changes or overrides the permissions
and allows me to go ahead and checkin. On NT however cvs commit gives
me the follwing error. ,otherfile, cannot be renamed to otherfile,v
and commit fails.
I have tracked it down to the following. Samba does not currently
allow me to chmod, rename, del, rm(gnu-tool), any file that is
-r--r--r-- and owned by someone other than myself.
I have also found that if I can set permissions to -rw-r--r-- on the
file owned by someone else Samba allows me to modify this file and
everything is okay.
Currently I am trying to get the permissions set in the repository to
default to -rw-r--r-- and have tried everything I can think of. I have
set all combinations of umask and CVSUMASK and PerservePermissions= in
the $CVSROOT/CVSROOT/config file. Nothing seems to let me create a file
in the repository this way.
I have tried getting Samba to let me modify this type of file (
-r--r--r-- otherlogin ) with no avail. If someone knows how to do this
that would be great also.
Thanks in advance,
Paul