From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200818103532.27487-1-ada@thorsis.com> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Fri, 21 Aug 2020 08:54:18 +0200 Subject: Re: [ptxdist] [APPLIED] sudo: targetinstall /etc/sudoers.d with 4 digit permission List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Alexander Dahl Thanks, applied as 40fb8b4c040d3f6f8e02a58494cf4f7d9c3b7750. Michael [sent from post-receive hook] On Fri, 21 Aug 2020 08:54:18 +0200, Alexander Dahl wrote: > When installing additional files into /etc/sudoers.d from another > package, we got this error (redacted): > > Incompatible ownership or permissions for '/etc/sudoers.d': > sudo: 0.0 755 > *****: 0.0 0755 (implicit) > > One of these packages must be fixed! > > Build is successful again, if fixed in the sudo package. > > Signed-off-by: Alexander Dahl > Message-Id: <20200818103532.27487-1-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/sudo.make b/rules/sudo.make > index 985ab87683f9..dd8c1bb67bc4 100644 > --- a/rules/sudo.make > +++ b/rules/sudo.make > @@ -133,7 +133,7 @@ $(STATEDIR)/sudo.targetinstall: > > ifdef PTXCONF_SUDO_INSTALL_ETC_SUDOERS > @$(call install_alternative, sudo, 0, 0, 0440, /etc/sudoers, n) > - @$(call install_copy, sudo, 0, 0, 755, /etc/sudoers.d) > + @$(call install_copy, sudo, 0, 0, 0755, /etc/sudoers.d) > endif > > ifdef PTXCONF_SUDO_INSTALL_VISUDO _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de