djb@bbt.UUCP (beauvais) (09/20/90)
I'm having trouble using Networked TLIB version 4.12f (a DOS version control system from Burton Systems Software) on PC-NFS version 3.0.1. It has to do with file attribute mapping. I wish to set up an environment where the TLIB archives are owned by "the boss." Any of the programmers in the group should be able to access (read or update) the archives thru TLIB functions. For security reasons, the programmers should not have direct write permission on the files thru UNIX or DOS commands. The following UNIX logins are established: UID GID WHO IT IS boss software software group mamager mike software a programmer karen software a programmer Boss will own the archive files, and they will be in their own directory (also owned by boss). The files will have the following permissions -r-xr-x---. The directory will have -rwxrwx---. TLIB temporarily gives the owner write permission whenever an archive file is updated. This is done thru a DOS "attrib -r filename.ext" call. This works fine if boss is using TLIB. The problem occurs when mike wants to check-out a file. He types "tlib x filename.ext". The file will be successfully extracted from the archive, but an attempted write that occurs to an audit file will fail. This is because DOS has no concept of group permissions, and the embedded "attrib -r filename.ext" only gave write permission for the file's owner. A similar problem occurs if you ignore the failed audit update and try to check-in the file. The write to the archive file will fail. There is an attribute that can be set for Unix files that causes the user's UID to be temporarily changed to that of the file's owner upon execution. DOS ignores this. A temporary solution is to add group write permission for all archive files. This is undesirable because the archives can be accidentally (or deliberately) altered. Any ideas? Changes in permission? Different directory structures? All suggestions (UNIX or DOS based) are welcomed. Thanks in advance for your help. -- Dan Beauvais UUCP: ...!mcnc!rti!bbt!djb BroadBand Technologies, Inc. Internet: djb%bbt@rti.rti.org Box 13737 BITNET: djb%bbt%rti.rti.org@CUNYVM Research Triangle Park, NC 27709 +1 (919)-544-6850 ext. 295