Subject: Re: OWN_DIRS_PERMS gives wrong perms
To: None <tech-pkg@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: tech-pkg
Date: 05/09/2007 22:47:22
On May 9, 2007, at 9:37 PM, Joerg Sonnenberger wrote:

> On Wed, May 09, 2007 at 09:28:39PM -0400, Amitai Schlair wrote:
>> # FILE: var/log/roundcube/ c share/examples/roundcube/.htaccess 0644
>> # DIR: var/log/roundcube mo 0755 www www
>
> Wild educated guess: the FILE is missing a component and the directory
> gets chmod'd again.

Just so. The Makefile had this sort of thing:

CONF_FILES+= ${EGDIR}/.htaccess ${PKG_SYSCONFDIR}/roundcube/

On your suggestion, I changed it to:

CONF_FILES+= ${EGDIR}/.htaccess ${PKG_SYSCONFDIR}/roundcube/.htaccess

And all the weirdness went away.

Thanks!