CVS : File Permission Preservation Patch

This patch enables CVS to preserve file permissions in the repository and correctly apply those permissions on checkout and updates using either a local or remote repository.

This is version 0.2 which was generated against CVS version 1.10.

(Current version is 0.3 which works with CVS version 1.11.5)



Installation Instructions

Version 0.2 -- May 3, 1999

Download patch
Download file from below

Apply patch
In the cvs source code directory (cvs-#.##/src/) run 'patch < patchfile'

Configure
If you want to, set the default file permissions used when files in the repository don't have the file permissions saved -- default is 0600.

Make and Install
From within the top level CVS source directory (cvs-#.##/) running './configure && make && make install' usually does the trick

Change the repository configuration
Check out CVSROOT and edit CVSROOT/config -- set PreservePermissions to 'file_perms' (PreservePermissions=file_perms) and make sure the line is uncommented. Commit config back in to the repository.

Import a module or commit the permissions for an existing module
Importing is done the same way as before the patch. See below for handling an existing module



Handling a pre-existing module

Modules that already exist in the repository prior to enabling the file permission preservation will not have permission information already saved.

These modules can be updated to store the current file permissions by performing the following steps (with an existing sandbox on a Unix machine):



Notes




Download

Version 0.2 -- May 3, 1999

Fixed an error with temp files on server being created with permissions of 0000 during an update. Made permissions mismatch note more informative.

Version 0.1 -- Dec. 21, 1998



Reporting Bugs

Please send all bug reports on this patch to Larry Coffin <lcoffin@PointInfinity.com>






Copyright © 1998 Point Infinity