From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 17:43:17 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 065A416A419 for ; Tue, 30 Oct 2007 17:43:17 +0000 (UTC) (envelope-from renton@1gb.ru) Received: from rx.in-solve.ru (s24.in-solve.ru [81.176.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5F91D13C4B6 for ; Tue, 30 Oct 2007 17:43:16 +0000 (UTC) (envelope-from renton@1gb.ru) Received: from Spooler by rx.in-solve.ru (Mercury/32 v4.52) ID MO00F400; 30 Oct 2007 20:43:16 +0300 Received: from spooler by mail-aux1.in-solve.hidden (Mercury/32 v4.52); 30 Oct 2007 20:27:59 +0300 Received: from mail-s20 (10.0.1.20) by mail.1gb.ru (Mercury/32 v4.52) with ESMTP ID MG00F3C3; 30 Oct 2007 20:26:13 +0300 Received: from Spooler by mail-s20 (Mercury/32 v4.52) ID MO00A0A9; 30 Oct 2007 20:27:31 +0300 Received: from spooler by mail-s20-aux1.in-solve.hidden (Mercury/32 v4.52); 30 Oct 2007 20:27:21 +0300 Received: from froggy (81.177.24.120) by mail-s20.1gb.ru (Mercury/32 v4.52) with ESMTP ID MG00A09D; 30 Oct 2007 20:27:04 +0300 From: "Alexey Vlasov" To: Date: Tue, 30 Oct 2007 20:22:01 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 thread-index: AcgbGUlR1VeYOx2IQVebb1ReQmAALA== x-mailer-addon: Potolook v.4.1.0.290 Message-ID: Subject: Primary group and parent dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey Vlasov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 17:43:17 -0000 Hi. Linux: $ id uid=42451(u42451) gid=155(clients) groups=155(clients), 42451(u42451) $ 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.