Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an old rhel 6 server from years ago, set up before my time.
It is using RCS, for file revisions. I've looked at some man pages, but I haven't found how to change the access list for RCS. I am making a new server, to replace this old 1, and want to use RCS.
I'm sure most of it takes little effort, but I just need to know how to change users on the access list.
Thanks!
I've done RCS (revision control system) for about 30 years. The access list is per user, per file. I've never had a need for it. I usually set it up so normal users can rcs and that way you can see who is doing updates instead say root for everything.
I tested on Ubuntu, seems -a is broken anyway. I restricted it and it allows another user (provided write perms) to co/ci/rcs without a problem.
'
Dang, no idea RCS was that old. I mean, I'm not surprised it's old, but didn't think over 30 years.
So, I am figuring it out. I think my last hurdle with it, is in the name,v file it creates in the RCS directory. How do I edit that, to limit who can co/ci? I know I need to add names to the "access" line, but what is the best way to edit this file?
I'd test that, my testing indicates that it doesn't work right. The only limits are if you can read the RCS file and if you can write the file in the target directory. I tried this on Ubuntu.
But you use the "rcs -a<USERNAME> file" to allow access for USERNAME. I found it doesn't really work, but someone might be able to convince me that it does. I did not find any example of anyone using this option.
It would be better to protect it by setfacl/getfacl. That way, you can protect the RCS directory per user instead of a Unix group.
I did find how to add allowed users to the ,v file. But this may be 1 of the areas where it no longer works right. It accepts my user, but gives a permission denied error when trying to co. RCS might be dead when it comes to rhel 8. Even though, Redhat offers the package.
don't forget usually root has no extra rights in databases, sometimes it is just locked out (to avoid running tools as root).
Personally I would try to transfer this RCS into git, but obviously it is just an idea from my side.
I was wondering when someone like @pan64 would say it: "this is obviously a better situation for 'git.'"
Today, much better version-control options exist (namely and specifically: "git"), than when RCS was originally architected. I therefore suggest that the "RCS" strategy should now be "sunsetted."
Last edited by sundialsvcs; 03-21-2023 at 09:15 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.