Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 11:10:19 +0200
From:      Arnaud Houdelette <freebsd@tzim.net>
To:        freebsd-ports@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>
Subject:   PKGNG upgrade / reinstall overides directory permissions
Message-ID:  <4FCDCCFB.9080701@tzim.net>

next in thread | raw e-mail | index | archive | help
Hello.

I'm currently testing pkgng and poudriere as a replacement for old pkg 
and pkg_jail.

When upgrading/reinstalling a port, pkg install / pkg upgrade resets the 
permissions of the directories created by the ports which already exist.

Old pkg_add did not have this behavior.

For example,
- install lighttpd
- chmod 750 /var/log/lighttpd
- pkg install -f lighttpd

=> /var/log/lighttpd mode is reset to 700.

Is this behavior correct ? Is there some option to avoid this ?

Arnaud



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCDCCFB.9080701>