From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 02:39:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6D416A421 for ; Thu, 1 Nov 2007 02:39:55 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 47EFF13C4A5 for ; Thu, 1 Nov 2007 02:39:55 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id BCA09AC2D3B2 for ; Thu, 1 Nov 2007 03:39:32 +0100 (CET) Received: from [84.152.174.226] (helo=noname) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.108 #208) id 1InPy0-0002dg-00 for freebsd-questions@freebsd.org; Thu, 01 Nov 2007 03:39:32 +0100 From: Tino Engel Organization: Galileo Group AG To: freebsd-questions@freebsd.org Date: Thu, 1 Nov 2007 03:39:31 +0000 User-Agent: KMail/1.9.4 References: <20071031051501.GA13046@cannabis.dataforce.net> In-Reply-To: <20071031051501.GA13046@cannabis.dataforce.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1557430.fP3DkpHLDJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711010339.36354.elrap@web.de> Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX18me2Na3TSVbFLqBR4udJoQhZhrVT3Hyc4h0Jau hrgBujlb8Ma4h+kcjF1A0C77R40wfGtMcXYvRdfdi1Te/Qy1cl SNArqlrE0= Subject: Re: Primary group and parent dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 02:39:55 -0000 --nextPart1557430.fP3DkpHLDJ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Probably the sticky bit on your parent directory is set. (someth. like=20 dswxs-xs-x) Am Mittwoch 31 Oktober 2007 05:15 schrieb Alesha Vlasov: > Hi. > > Linux: > $ id > uid=3D42451(u42451) gid=3D155(clients) groups=3D155(clients), 42451(u4245= 1) > > $ ls -la > drwx--x--- 7 u42451 www 512 29 oct 19:33 . > drwxr-x--x 254 root wheel 79872 29 oct 19:28 .. > drwx---r-x 16 u42451 clients 1024 29 oct 18:34 http > > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 clients 512 29 oct 19:39 test > > it means that dirs are always made with primary usergroup. > > FreeBSD: > Everithing the same but, > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 www 512 29 oct 19:39 test it means the group is > alway inherited from parent dir. > > Can I make this as in linux? > Thanks. > > -- > BRGDS. Alesha Vlasov. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1557430.fP3DkpHLDJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBHKUp44xizT/jJ1lERAu2BAJ0RfWZljrrZBozR/k1cDcfX6eFjRACeL5Eo Vdy8wXvMWz8jgfJpTVDYuSY= =wmMp -----END PGP SIGNATURE----- --nextPart1557430.fP3DkpHLDJ--