From owner-freebsd-stable@freebsd.org Mon Oct 1 22:01:20 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F4AB10ABCBF for ; Mon, 1 Oct 2018 22:01:20 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A370C8F0C1 for ; Mon, 1 Oct 2018 22:01:19 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id m80-v6so11020396lfi.12 for ; Mon, 01 Oct 2018 15:01:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AtFsoWaeVzDMc3f+5Gz9JnGuGCF3XC0Q2gsc3dkLw48=; b=R55sD4tsgVruVeE07UtwREwQyc84uU/zWYI/UyRIHQgmMgrD6s1N7+XCtVuX9jgUaa nGtalQ68J3ogZw8sfV6lidI5wVL99NSIDVocyad8PubJtq+VDC8Qfp5wZUrYrZKAx+mC UNU7ic75XZvDvcxRr1d2Qj+7CfWow5SFAo6LtVGL2bOBPhskrPXg4tQ5s2g7earrYUie cGRxPiVEppWKkeskrA55c2mkrXijS8zukETwc42ejKTLyumcdW8qMa/93ND/TLptF4rA Dr7LgCNCY/qfNIVA7VAZ87Oo7ZnwZp9tbJXWa84tZ39lpJXRxtaQgnxr4EEZLql9kdEB zX0A== X-Gm-Message-State: ABuFfog5THrG35VSp65NIYuwxGMQbvGZ8B4ksi8crrrQaD+m1iU0jvbV 3s5Ajmz7fEcryYK17nkS+DeupwjOd+kHN4cmIVE= X-Google-Smtp-Source: ACcGV62bDgjfDaKtgbP+ZTaR5c2lxErxo1QTDG/EpflEW2J4esXzf6XlreDGFmCivrAxCnUnqrZT29soLizOmDkoMk8= X-Received: by 2002:a19:5e5d:: with SMTP id z29-v6mr6444172lfi.110.1538431277741; Mon, 01 Oct 2018 15:01:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Mon, 1 Oct 2018 16:01:06 -0600 Message-ID: Subject: Re: Minor 11.1 -> 11.2 upgrade glitch To: marcnarc@gmail.com Cc: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 22:01:20 -0000 On Mon, Sep 17, 2018 at 9:08 AM Marc Branchaud wrote: > Hi all, > > I have a ZFS dataset mounted under /usr/local/jenkins. I've made this > the home directory of my jenkins user, so that directory has to be owned > by jenkins. > > # cd /usr/local > # ls -ld jenkins > drwxr-xr-x 20 jenkins jenkins 75 Sep 17 10:48 jenkins > > After upgrading from 11.1 to 11.2, the directory ended up owned by root: > > drwxr-xr-x 20 root jenkins 75 Sep 17 10:48 jenkins > > Only the directory ownership changed -- all the contents were still > owned by jenkins. > > Not a big deal, but I did have a moment of dread when jenkins failed to > start after the upgrade. > > So is this a bug, or is there some policy that everything immediately > under /usr/local should be owned by root? > > M. > You probably did a "pkg upgrade" after upgrading your base system, and that's probably what changed the directory's permission. Upgrading the base system shouldn't have an effect. I would ask the Jenkins port maintainer your question. -Alan