LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 01-18-2004, 03:05 AM   #1
Osten
Member
 
Registered: Sep 2003
Posts: 33

Rep: Reputation: 15
CVS - file permissions and file ownership


Hi all..

I have installed CVS and it will be used as client/server using ssh.
I still have some things that i want sorted out.

Is there a way to have a list with the users that i want to access the repository?
I have of course given certain permissions but it would be nice with an explicit list though.

Also when i add and commit new files and directories i want other permissions and another owner than i get.

For example:
if i add a new file i want these permissions: r--r----- instead of r--r--r-- and also i want the owner to be "cvs" instead of the person who add's the new file.

Is this possible to do without a patched version of CVS ?

edit:
fixed spelling..

Last edited by Osten; 01-18-2004 at 03:06 AM.
 
Old 01-18-2004, 02:41 PM   #2
annekaelber
Member
 
Registered: Sep 2003
Location: Mesa, AZ
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
Hi,

I'm still new to CVS, so please take my advice with a grain (or two!) of salt.

I think what you want to do is create a group and assign people to that group. Then anyone in that group could access those files. The group man page should help you get started.

The CVS directory is owned by root and is part of the group I created. My husband and I are both members of that group. Now, when I check in a piece of my writing, my husband can check it out and proofread it, then check in changes for me to see.

As for "other permissions", I'm not sure I can help you there. I'm sure there is a way to have all files in a directory set with specific permisions, but I don't know how to do that.

I hope this helps...
Anne.
 
Old 01-18-2004, 02:45 PM   #3
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
Is that you, AMK?
 
Old 01-18-2004, 04:08 PM   #4
Osten
Member
 
Registered: Sep 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ciranhi
Hi,

I'm still new to CVS, so please take my advice with a grain (or two!) of salt.

I think what you want to do is create a group and assign people to that group. Then anyone in that group could access those files. The group man page should help you get started.

The CVS directory is owned by root and is part of the group I created. My husband and I are both members of that group. Now, when I check in a piece of my writing, my husband can check it out and proofread it, then check in changes for me to see.

As for "other permissions", I'm not sure I can help you there. I'm sure there is a way to have all files in a directory set with specific permisions, but I don't know how to do that.

I hope this helps...
Anne.
Yes that's right.. i'm using groups (/etc/group) to handle the users, although i think it would be nice with a file where i can write down the usernames of the people that should have access to the repository. I use chmod g+s so that the group will be inherited to new files and directories as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Ownership chrisfirestar Linux - General 2 11-10-2005 04:41 AM
File permissions and ownership all screwed up Haiyadragon Linux - General 6 09-20-2004 01:09 PM
Why doesn't "cp -p <file>" copy <file> and preserve ownership? davidas Linux - Newbie 5 04-12-2004 05:44 AM
Apache/Samba file permissions/ownership seedsca Linux - Networking 0 03-28-2004 09:07 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM


All times are GMT -5. The time now is 03:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration