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 1KEgBZ-0002rA-3a for garchives@archives.gentoo.org; Fri, 04 Jul 2008 07:58:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C219E0411; Fri, 4 Jul 2008 07:58:27 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A555E0411 for ; Fri, 4 Jul 2008 07:58:27 +0000 (UTC) Received: from gondolin.altum.de (p54BB9610.dip0.t-ipconnect.de [84.187.150.16]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1KEgBW3Fh7-00065n; Fri, 04 Jul 2008 09:58:26 +0200 Received: from localhost (localhost [127.0.0.1]) by gondolin.altum.de (Postfix) with ESMTP id 9DACE2A484A for ; Fri, 4 Jul 2008 09:58:26 +0200 (CEST) X-Virus-Scanned: by amavisd-new at online.de Received: from gondolin.altum.de ([127.0.0.1]) by localhost (gondolin.altum.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31hmOExqK8I9 for ; Fri, 4 Jul 2008 09:58:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gondolin.altum.de (Postfix) with ESMTP id 5D38B2A3DC2 for ; Fri, 4 Jul 2008 09:58:26 +0200 (CEST) Received: from gondolin.altum.de (gondolin.altum.de [192.168.1.4]) (Authenticated sender: dirk.heinrichs@online.de) by gondolin.altum.de (Postfix) with ESMTPSA id 4E49D2A484A for ; Fri, 4 Jul 2008 09:58:26 +0200 (CEST) From: Dirk Heinrichs Organization: Privat To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: Filesystem permissions Date: Fri, 4 Jul 2008 09:58:20 +0200 User-Agent: KMail/1.9.9 References: <20080703174001.7066e5e3@NOTE_GENTOO64.PHHEIMNETZ> In-Reply-To: <20080703174001.7066e5e3@NOTE_GENTOO64.PHHEIMNETZ> 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="nextPart1321177.vtEtTc37vM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200807040958.25428.dirk.heinrichs@online.de> X-Provags-ID: V01U2FsdGVkX1+48dtEEi5TVSQIceW+dBNe0kJGdIYSGvE0dad vKY3BbJMHSO59aIsnrcwpJS7iOBYUvqR4nXsMgpFeJTeMDWYtJ GFx/ETtvnwqdpmlICHKVA== X-Archives-Salt: 204f8699-6ee6-4855-affb-75ec3bda2d16 X-Archives-Hash: 40a149a1cd37af0edeb64d91a4184c1a --nextPart1321177.vtEtTc37vM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Donnerstag, 3. Juli 2008 schrieb Florian Philipp: > Then there might be a common folder for all users in a specific group > as a simple way of sharing files. These shall be accessible by every > user in the group but by none else, so for the user phil_fl and the > group users: chown phil_fl:users; umask 0007. =46orget umask, you have to adjust the permissions of that _directory_=20 accordingly: chmod 770 groupdir and, as others already wrote, eventually set the SGID bit so that all files= =20 within are owned by the group you want. You can later add permissions for other users or groups by using ACLs, see = man=20 pages of setfacl and getfacl. HTH... Dirk --nextPart1321177.vtEtTc37vM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iD8DBQBIbdgh8NVtnsLkZ7sRAtgbAJ9fiMpwGKKoTtgWtTe01c4O4OkyawCfcDSB V4LtosQleyR4EKNhRywZ22I= =gUrS -----END PGP SIGNATURE----- --nextPart1321177.vtEtTc37vM-- -- gentoo-user@lists.gentoo.org mailing list