public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dirk Heinrichs <dirk.heinrichs@online.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: Filesystem permissions
Date: Fri, 4 Jul 2008 20:08:43 +0200	[thread overview]
Message-ID: <200807042008.52273.dirk.heinrichs@online.de> (raw)
In-Reply-To: <20080704193104.2b209f36@NOTE_GENTOO64.PHHEIMNETZ>

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Am Freitag, 4. Juli 2008 schrieb Florian Philipp:
> On Fri, 4 Jul 2008 18:35:58 +0200
>
> Alan McKinnon <alan.mckinnon@gmail.com> 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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-07-04 18:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 15:40 [gentoo-user] OT: Filesystem permissions Florian Philipp
2008-07-03 15:52 ` Alan McKinnon
2008-07-03 17:58   ` Florian Philipp
2008-07-04 14:24     ` Alan McKinnon
2008-07-04 15:03       ` Florian Philipp
2008-07-04 16:35         ` Alan McKinnon
2008-07-04 17:31           ` Florian Philipp
2008-07-04 18:08             ` Dirk Heinrichs [this message]
2008-07-04 18:22               ` Florian Philipp
2008-07-05  7:56                 ` Alan McKinnon
2008-07-04  0:05 ` Daniel Iliev
2008-07-04  7:58 ` Dirk Heinrichs
2008-07-04  8:01   ` Dirk Heinrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807042008.52273.dirk.heinrichs@online.de \
    --to=dirk.heinrichs@online.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox