[MPlayer-dev-eng] [PATCH] v4l fix

Diego Biurrun diego at biurrun.de
Wed Aug 28 20:55:34 CEST 2002


Arpi writes:
 > cvs is too lame to work with user groups. i can limit it only one user or
 > all user. it would work with slackware, but mphq runs debian and tehre each
 > user has an own group with the same name, as primary group. so whenever he
 > commits something, his group will be set for that file as owner group.

Not if you set the directory to be setgid.

 > so i have to chmod o+w to allow more than one user to commit.
 > and 'o' includes you, too...

This is not a Debian problem.  You just have to do something like

chmod 2775 DOCS
chgrp docs DOCS

and the user's umask has to be set to the correct value

umask 0002

helps in my case:

silver:/tmp$ umask
0002
silver:/tmp$ mkdir DOCS
silver:/tmp$ chmod 2775 DOCS/
silver:/tmp$ chgrp staff DOCS
silver:/tmp$ touch DOCS/test
silver:/tmp$ ls -l DOCS/
total 0
-rw-rw-r--    1 diego    staff           0 Aug 28 20:53 test

It's a configuration problem, not CVS or Debian, basic Unix stuff ;-)

Diego



More information about the MPlayer-dev-eng mailing list