Minor 11.1 -> 11.2 upgrade glitch
Alan Somers
asomers at freebsd.org
Mon Oct 1 22:01:20 UTC 2018
On Mon, Sep 17, 2018 at 9:08 AM Marc Branchaud <marcnarc at 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
More information about the freebsd-stable
mailing list