From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 19:21:13 2009 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 54F64106568B for ; Wed, 16 Sep 2009 19:21:13 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id DC2768FC08 for ; Wed, 16 Sep 2009 19:21:12 +0000 (UTC) Received: by bwz2 with SMTP id 2so3529347bwz.43 for ; Wed, 16 Sep 2009 12:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=e2biXIUps6iNbANLP+9THHLSKfqLnAyWnNL9buLbmC8=; b=ea1rFpv4CJRrWUAu2FgM2q5jWRb8ReGmUQOM71dsvdgihQvxM0FPuoqmGIbk+vWCEe AiePGmLfEnr/OpLYeljxX+uTx1yDQj9HmyFieoRYWB4fGPueqFK50KPIB1aITFE3o3St 0LGRnFE8tZ9cYy5FQMKWr0w5K/ozsfphTekZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nahB5r2tDQ9ubuj9AAiCoJfXBbBDrZ+iutndki2vxL2iest/L0BhhF2eiGfuT0s5ro ibMRXzc5EqEmHIlq+QXSudPpgy542bWBlB+UZeBuEmcU5b15UBo3ybV69QgTiq2H8qHM ziJSMNhvt6Q37MuNTbKHBDjTDUUkAdcEaMq8g= MIME-Version: 1.0 Received: by 10.204.34.208 with SMTP id m16mr7714237bkd.47.1253128871673; Wed, 16 Sep 2009 12:21:11 -0700 (PDT) Date: Wed, 16 Sep 2009 22:21:11 +0300 Message-ID: <9e20d71e0909161221i432edd65s9dac7e0da7c2fdc9@mail.gmail.com> From: Artis Caune To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: /tmp sticky bit differences on FreeBSD 8 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: Wed, 16 Sep 2009 19:21:13 -0000 Hi, can someone point me to what has changed in file creation modes in /tmp directory? # FreeBSD 6, 7: $ cd /tmp; id; touch testfile; mkdir testdir; ls -la uid=65534(nobody) gid=65534(nobody) groups=65534(nobody) drwxr-xr-x 2 nobody wheel 2 Sep 16 22:10 testdir -rw-r--r-- 1 nobody wheel 0 Sep 16 22:10 testfile # FreeBSD 8: $ cd /tmp; id; touch test; ls -la test uid=65534(nobody) gid=65534(nobody) groups=65534(nobody) drwxr-xr-x 2 nobody nobody 2 Sep 16 22:12 testdir -rw-r--r-- 1 nobody nobody 0 Sep 16 22:12 testfile On FreeBSD 6,7 files are created with wheel group, but on 8 - with `gid`. -- Artis Caune Everything should be made as simple as possible, but not simpler.