From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KEpx2-0000CA-9R for garchives@archives.gentoo.org; Fri, 04 Jul 2008 18:24:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC3F5E04DB; Fri, 4 Jul 2008 18:24:06 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id 9CCD8E04DB for ; Fri, 4 Jul 2008 18:24:06 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 746C2136B9F; Fri, 4 Jul 2008 14:24:06 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 04 Jul 2008 14:24:06 -0400 X-Sasl-enc: jwUBzi+Vy56ci6K81lIy4/bKJd1onAamw6JPkiHlfVwM 1215195845 Received: from NOTE_GENTOO64.PHHEIMNETZ (dslb-088-072-151-247.pools.arcor-ip.net [88.72.151.247]) by mail.messagingengine.com (Postfix) with ESMTPSA id A01D83169D for ; Fri, 4 Jul 2008 14:24:05 -0400 (EDT) Date: Fri, 4 Jul 2008 20:22:53 +0200 From: Florian Philipp To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: Filesystem permissions Message-ID: <20080704202253.5cdefcd4@NOTE_GENTOO64.PHHEIMNETZ> In-Reply-To: <200807042008.52273.dirk.heinrichs@online.de> References: <20080703174001.7066e5e3@NOTE_GENTOO64.PHHEIMNETZ> <200807041835.58544.alan.mckinnon@gmail.com> <20080704193104.2b209f36@NOTE_GENTOO64.PHHEIMNETZ> <200807042008.52273.dirk.heinrichs@online.de> Organization: German Aerospace Center X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8STQSL+5KxgbNlGWaGKXtjx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 5394c4ac-d437-458a-a217-2e0b217ed9bb X-Archives-Hash: fe3ddf1a2c86b6ec5b2a5453d89a7ae6 --Sig_/8STQSL+5KxgbNlGWaGKXtjx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 4 Jul 2008 20:08:43 +0200 Dirk Heinrichs wrote: > Am Freitag, 4. Juli 2008 schrieb Florian Philipp: > > On Fri, 4 Jul 2008 18:35:58 +0200 > > > > Alan McKinnon 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. >=20 > And what about the packages you install/update as root? I'd bet that > not all give the exact permissions when calling "install". >=20 > Bad idea. >=20 > Bye... >=20 > 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. --Sig_/8STQSL+5KxgbNlGWaGKXtjx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhuaoUACgkQqs4uOUlOuU+7QwCfa+UXWOCAqf2ptb7lkLSyKklP qdYAniNKBH19LNTEQuY/l2WC12kKAkFZ =MkZs -----END PGP SIGNATURE----- --Sig_/8STQSL+5KxgbNlGWaGKXtjx-- -- gentoo-user@lists.gentoo.org mailing list