General
cancel
Showing results for 
Search instead for 
Did you mean: 

RCS(Revision Control System) permission of file

SOLVED
Go to solution
Billa-User
Regular Advisor

RCS(Revision Control System) permission of file

hello,

i use RCS (Revision Control System) for HPUX 11.11/11.23/11.23 and found following characteristic of command "rcs":

umask (0022) was set and the example file had the permission 666. after i had used "rcs" , the file permission changed to 444.
other example :

1. file permission 777
2. "rcs"
3. file permission 555

i think, "rcs" removes "write permission" ? can i have a bearing on it? maybe it is possible to execute "rcs" with target permission for the file.

test procedure with file "test-rcs,v" ( i attached it) :

#ll test-rcs,v
-rw-rw-rw- 1 root sys 3119 Dec 23 14:20 test-rcs,v

#head test-rcs,v

head 1.22;
access root sys;
symbols ;
locks ; strict;
comment @@;


1.22
date 2008.12.17.17.16.57; author sys; state TestVersion;
branches ;

#rcs -e"root sys" -sProdVersion test-rcs,v
RCS file: test-rcs,v
done

#ll test-rcs,v
-r--r--r-- 1 root sys 3111 Dec 23 14:21 test-rcs,v

regards,tom
2 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: RCS(Revision Control System) permission of file

>the file permission changed to 444. 3. file permission 555
>"rcs" removes "write permission"?

Yes, this is how RCS manages the file. If checked in, it doesn't want anyone to write to it. You must check it out "co -l" to modify.

You may want to create a RCS/ directory so all of the ,v files are put there.
Billa-User
Regular Advisor

Re: RCS(Revision Control System) permission of file

thanks for the fast answer