From owner-freebsd-stable@freebsd.org Fri Jun 16 12:53:04 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FD14BFFF9B for ; Fri, 16 Jun 2017 12:53:04 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA2D07E079 for ; Fri, 16 Jun 2017 12:53:03 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3wq0dz2cXwzZqg; Fri, 16 Jun 2017 14:52:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=mail; t=1497617573; x=1499431974; bh=W6RrXZVUAAA35T RWOrBcLI5TCJCfXn5VEKG8Idaf6t8=; b=gTAFtiV//M8/jDKhArAdZgdyx5o0Oj hQKvPxePmK0jn6FqY/877nM7xqms8oWbRzLmoPH4IZKk+UCeC9fvALB1ToztsXm3 1Jg16mR7iiVWN8bgURx6DBB0CdUZYq5PKPUVB5AYiV6bzd/8ICl7wdZTwYA5BQda VQOfR4o0yC0Uw= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id kLWmupGxBapg; Fri, 16 Jun 2017 14:52:53 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Fri, 16 Jun 2017 14:52:53 +0200 (CEST) Subject: Re: Interesting permissions difference on NanoBSD build To: Karl Denninger , FreeBSD-STABLE Mailing List References: From: Guido Falsi Message-ID: <1387791f-fe22-08d7-2048-26bd95eab451@madpilot.net> Date: Fri, 16 Jun 2017 14:52:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 12:53:04 -0000 On 06/16/17 14:25, Karl Denninger wrote: > I've recently started playing with the "base" NanoBSD scripts and have > run into an interesting issue. [...] > Note the missing "r" bit for "other" in usr and etc directories -- and > the missing "x" bit (at minimum) for the root! The same is carried down > to "local" under usr: > > root@NewFS:/pics/Crochet-work-AMD/obj/_.w # ls -al usr > total 134 > drwxr-x--x 12 root wheel 12 Jun 15 17:10 . > drwxr-x--- 18 root wheel 24 Jun 15 17:10 .. > drwxr-xr-x 2 root wheel 497 Jun 15 17:09 bin > drwxr-xr-x 52 root wheel 327 Jun 15 17:10 include > drwxr-xr-x 8 root wheel 655 Jun 15 17:10 lib > drwxr-xr-x 4 root wheel 670 Jun 15 17:09 lib32 > drwxr-xr-x 5 root wheel 5 Jun 15 17:10 libdata > drwxr-xr-x 7 root wheel 70 Jun 15 17:10 libexec > drwxr-x--x 10 root wheel 11 Jun 15 17:10 local > drwxr-xr-x 2 root wheel 294 Jun 15 17:08 sbin > drwxr-xr-x 31 root wheel 31 Jun 15 17:10 share > drwxr-xr-x 14 root wheel 17 Jun 15 17:10 tests > root@NewFS:/pics/Crochet-work-AMD/obj/_.w # I have no idea why this is happening on your system but I'm not observing it here: > ls -al usr total 85 drwxr-xr-x 9 root wheel 9 Jun 15 13:32 . drwxr-xr-x 22 root wheel 29 Jun 15 13:32 .. drwxr-xr-x 2 root wheel 359 Jun 15 13:32 bin drwxr-xr-x 4 root wheel 446 Jun 15 13:32 lib drwxr-xr-x 3 root wheel 3 Jun 15 13:32 libdata drwxr-xr-x 5 root wheel 47 Jun 15 13:32 libexec drwxr-xr-x 12 root wheel 13 Jun 15 13:32 local drwxr-xr-x 2 root wheel 218 Jun 15 13:32 sbin drwxr-xr-x 17 root wheel 17 Jun 15 13:32 share and I get (almost) the same on the installed nanobsd system: > ls -al usr total 24 drwxr-xr-x 9 root wheel 512 Jun 15 13:32 . drwxr-xr-x 23 root wheel 512 Jun 15 13:34 .. drwxr-xr-x 2 root wheel 6144 Jun 15 13:32 bin drwxr-xr-x 4 root wheel 10752 Jun 15 13:32 lib drwxr-xr-x 3 root wheel 512 Jun 15 13:32 libdata drwxr-xr-x 5 root wheel 1024 Jun 15 13:32 libexec drwxr-xr-x 12 root wheel 512 Jun 15 13:32 local drwxr-xr-x 2 root wheel 4096 Jun 15 13:32 sbin drwxr-xr-x 17 root wheel 512 Jun 15 13:32 share The machine I'm building the NanoBSD image on is running head r318959, and is running ZFS, while the NanoBSD system I've built is tracking 11-STABLE and is at r319971 at present, so a BETA1. Could you report version information too? maybe it's a problem present on head NanoBSD scripts? -- Guido Falsi