pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42328: setting PKG_SYSCONFDIR.minicom creates directory permission problems



The following reply was made to PR pkg/42328; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/42328: setting PKG_SYSCONFDIR.minicom creates directory
 permission problems
Date: Mon, 16 Nov 2009 20:43:01 +0900

 If both current this package and after your patch works, just remove 
OWN_DIRS_PERMS line.
 Because it means no need special permission to config directory.
 
 If this package is really require special permission to the directory,
 PKG_SYSCONFDIR_PERMS should be used instead of OWN_DIRS_PERMS.
 (currently, config directory is created with default PKG_SYSCONFDIR_PERMS and 
warned by OWN_DIRS_PERMS)
 But remains one problem, related to the situation of this PR.
 Using PKG_SYSCONFDIR.${PKG_SYSCONFVAR} on package contains PKG_SYSCONFSUBDIR.
 Currently, PKG_SYSCONFDIR_PERMS is ignored if PKG_SYSCONFSUBDIR is empty,
 probably, to avoid changing permission of PKG_SYSCONFBASEDIR accidently.
 But if PKG_SYSCONFDIR.${PKG_SYSCONFVAR} is set, PKG_SYSCONFSUBDIR is ignored.
 So on the situation of this PR, /etc will be changed to own by dialer:uucp 
silently.
 
 Probably, PKG_SYSCONFSUBDIR should be reset if 
PKG_SYSCONFDIR.${PKG_SYSCONFVAR} is defined,
 or honor PKG_SYSCONFSUBDIR even if PKG_SYSCONFDIR.${PKG_SYSCONFVAR} is defined.
 IMO, later is prefered, because some packages expect that config files are in 
certain subdir
 of specified directory to configure, ex PR#42327 .
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index