On Fri, 4 Jul 2008 20:08:43 +0200 Dirk Heinrichs <[EMAIL PROTECTED]> wrote:
> Am Freitag, 4. Juli 2008 schrieb Florian Philipp: > > On Fri, 4 Jul 2008 18:35:58 +0200 > > > > Alan McKinnon <[EMAIL PROTECTED]> wrote: > > > On Friday 04 July 2008, Florian Philipp wrote: > > > > I've just set the umask 0007 in /etc/profile. With the rule that > > > > every user has his own primary group (as it is default), this is > > > > sufficient for my needs. > > > > > > Hmmm. That gives permissions: > > > > > > rw-rw---- > > > > > > on every single new file created by every single user by default. > > > > > > If you are happy with that, so be it. I would not be happy with > > > that :-) > > > > Since every user has another primary group this doesn't cause > > problems. Only on folders with SETGID where the group is changed by > > design this umask causes other users to have write and read > > permissions and that's what I wanted in the first place. > > And what about the packages you install/update as root? I'd bet that > not all give the exact permissions when calling "install". > > Bad idea. > > Bye... > > Dirk Hmm, good point. I will monitor the situation. If there are any occurrences of wrong permissions, I think it will be sufficient to make an if-clause before setting the umask but maybe it proves unneccessary.
signature.asc
Description: PGP signature

