RCS and Samba

Andrew Maguire (SWW) Andrew.Maguire at Smallworld.co.uk
Mon Apr 2 14:17:52 GMT 2001


I have a question about the ability of Samba to cope with changing ownership
of files.
This situation occurs when using RCS on NT to access files on UNIX served up
by Samba.

I have spent a small amount of time on this and discovered that if a user
checks in a file on UNIX and then does the same thing on Windows then RCS
works. This is because the
RCS archive file has the same owner in both cases and so RCS does not need
to do anything
with the ownership of the file.

The problem arises when a different user checks in a file on UNIX and then a
user on Windows tries to check in a file. This problem is related to the
ownership of files.
It looks like RCS creates a new version of the archive file and then it
tries to save
this new version over the old version making sure that the new file will be
owned by the current user. It is this rewrite process that fails.

Do you have any experience with the above problem, is there a Samba
configuration
variable that will enable this functionality.

TIA

Andrew




More information about the samba mailing list