Ok.  I have obsered the following behaviour using CVS 1.10.8:  First
please understand that our website is a webpage, so we want to keep a
current version always checked out on the test server, and we need to have
changes take effect on the web server with as few steps as possable after
the save, so that our HTML guys can see thier changes.  The goal is to do
an RCS type thing (everyones using the same file in the working directory
and just checking in their changes), but use CVS so that devlopers on
windows systems can check their stuff in directly from the winblows
system.  The plan is/was to use samba to allow the windows users to mount
this "working" checkout directory, and then use wincvs to change
permissions on the files so they can modify them.
 
I have cvs watch turned on for all files.
 
I did a cvs checkout of everything into a directory (the working
directory)
 
All files were checked out in my name read only.
 
My college went into the CVS REPOSITORY SYSTEM, and ran a CVS edit on the
files I had checked out.  He got a permission error.  He then ran CVS
unedit, at which point the files he specfied changed to his ownership (cvs
edit; cvs unedit changes ownership).  NOte that if I try to run cvs edit
after he has run cvs edit but before he runs CVS edit, I get an error that
says I can't access a file in CVS/Base.
 
This bahavior is VERY similer to what we want.  Is there anyway to get the
ownership of the file to change on the orignal CVS edit instead of having
to run edit, unedit, edit (in order to get it owned by you and rw).  If
someone does this from a client and uses the repository (using samba) will
the files still change permissions.  Would there be anyway to slightly
change the sourcecode to make this work?
 
        Thanks,
                Ben      

Reply via email to