Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CVS and file Permissions.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mreiland
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 99

PostPosted: Sun Aug 10, 2003 8:14 am    Post subject: CVS and file Permissions. Reply with quote

Alright, I'm setting up a CVS repository, and i've created a cvs group to control who has access to CVS, etc.

When I import a directory structure, the group that owns the repository is the group of the user who imported, and not the cvs group. How do I change this? I've looked at the documentation, but it doesn't really say.

I have CVSROOT owned by the cvs group, but I can't think of what else to do. Any help would be appreciated, thanks :)
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9611
Location: beyond the rim

PostPosted: Sun Aug 10, 2003 10:55 am    Post subject: Reply with quote

info chmod wrote:
In addition to the three sets of three permissions listed above, a file's permissions have three special components, which affect only executable files (programs) and, on some systems, directories:

1. set the process's effective user ID to that of the file upon
execution (called the "setuid bit"). No effect on directories.

2. set the process's effective group ID to that of the file upon
execution (called the "setgid bit"). For directories on some
systems, put files created in the directory into the same group as
the directory, no matter what group the user who creates them is
in.


The last sentence is the most important.
Back to top
View user's profile Send private message
Kuartzer
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2003
Posts: 81
Location: in front of the keyboard @ Lx - PT

PostPosted: Sun Feb 15, 2004 4:13 am    Post subject: Reply with quote

I did read a tutorial (don't remeber wich or where) where the trick to work that out was setting de +s (setgid bit) in the CVSROOT, so every file/dir was created whit the same group.

That does the trick if you want everyone on cvs group to see an use all imported projects.

you can play whit groups and permissions to set who can see wich project to!
_________________
"Não existe nada completamente errado no mundo, até mesmo um relógio parado consegue estar certo duas vezes por dia..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum