Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 16:01:06 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        marcnarc@gmail.com
Cc:        FreeBSD <freebsd-stable@freebsd.org>
Subject:   Re: Minor 11.1 -> 11.2 upgrade glitch
Message-ID:  <CAOtMX2jL3ZwUyBVkkKiuOZk2Z5SVtqz3c3mCS8-3icRDo=8RCg@mail.gmail.com>
In-Reply-To: <f19579be-4e29-1a66-0a53-4729c3c50acf@gmail.com>
References:  <f19579be-4e29-1a66-0a53-4729c3c50acf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 17, 2018 at 9:08 AM Marc Branchaud <marcnarc@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jL3ZwUyBVkkKiuOZk2Z5SVtqz3c3mCS8-3icRDo=8RCg>