[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Adding files and user rights
From: |
Teala Spitzbarth |
Subject: |
RE: Adding files and user rights |
Date: |
Wed, 25 Jul 2001 16:31:31 -0700 |
Set the 'setgid' bit on the directories in your repository. This will
mean that all new directories and
files created will be created with ownership "userid": "project"
See RH documentation for more info:
http://www.redhat.com/support/manuals/RHL-7-Manual/ref-guide/s1-sysadmin
-usr-grps.html#S2-SYSADMIN-PRIV-GROUPS
Cheers,
Teala
-----Original Message-----
From: Michal Kostrzewa [mailto:address@hidden
Sent: Wednesday, July 25, 2001 4:11 PM
To: address@hidden
Subject: Adding files and user rights
Hello again,
Thank you for answers to my previous question about modules and tags.
They
were very helpful...
I have another one, I think should be simple but I don't know how people
are
doing this:
I have a repository owned by user:project. Every user belongs to group
"project" so he can access/modify files from the repository. When he
commits
a file - the apropriate file in repository gains rights like
"userlogin":project. But there are problems when user adds and commits a
file. The added file has the rights "username":"user-primary-group", so
it's
unreadable by other users.
Of course there are solutions: users can do newgroup or sg to project,
or I
can change the user primary group to "project". But all of the above
solutions are unsatisfactory - there is always a possibility to force an
invalid group (on purpose, or by accident). Things are more complicated,
becouse we want to use repository by :ext: method, so it's not possible
to
manually set the proper group - need to change .bashrc or something...
The question is: How can I enforce groups "project" on every added file.
Are
there "callbacks scripts" launched when commiting files? Cvswrappers?
thank you for you attention,
regards
Michal Kostrzewa
address@hidden
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs