View previous topic :: View next topic |
Author |
Message |
mreiland Tux's lil' helper
Joined: 13 Jul 2003 Posts: 99
|
Posted: Sun Aug 10, 2003 8:14 am Post subject: CVS and file Permissions. |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9611 Location: beyond the rim
|
Posted: Sun Aug 10, 2003 10:55 am Post subject: |
|
|
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 |
|
|
Kuartzer Tux's lil' helper
Joined: 15 Jul 2003 Posts: 81 Location: in front of the keyboard @ Lx - PT
|
Posted: Sun Feb 15, 2004 4:13 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|