mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] sudo: targetinstall /etc/sudoers.d with 4 digit permission
Date: Fri, 21 Aug 2020 08:54:18 +0200	[thread overview]
Message-ID: <E1k90wM-0006x4-OR@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20200818103532.27487-1-ada@thorsis.com>

Thanks, applied as 40fb8b4c040d3f6f8e02a58494cf4f7d9c3b7750.

Michael

[sent from post-receive hook]

On Fri, 21 Aug 2020 08:54:18 +0200, Alexander Dahl <ada@thorsis.com> 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 <ada@thorsis.com>
> Message-Id: <20200818103532.27487-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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

      parent reply	other threads:[~2020-08-21  6:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 10:35 [ptxdist] [PATCH] " Alexander Dahl
2020-08-19 10:47 ` Roland Hieber
2020-08-19 10:51   ` [ptxdist] [PATCH 1/2] doc: ref_make_macros: make clear that permission should be four digits Roland Hieber
2020-08-19 10:51     ` [ptxdist] [PATCH 2/2] rules: explicitly specify sticky/setuid/setgid bits for install_* macros Roland Hieber
2020-08-19 10:55       ` Roland Hieber
2020-08-19 10:59     ` [ptxdist] [PATCH v2 1/2] doc: ref_make_macros: make clear that permission should be four digits Roland Hieber
2020-08-19 10:59       ` [ptxdist] [PATCH v2 2/2] rules: explicitly specify sticky/setuid/setgid bits for install_* macros Roland Hieber
2020-09-04 17:01         ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:04       ` [ptxdist] [PATCH v2 1/2] doc: ref_make_macros: make clear that permission should be four digits Alexander Dahl
2020-08-21  7:52         ` Michael Olbrich
2020-08-21 12:06           ` Alexander Dahl
2020-08-23 19:17             ` Roland Hieber
2020-09-04 17:01       ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:11   ` [ptxdist] [PATCH] sudo: targetinstall /etc/sudoers.d with 4 digit permission Alexander Dahl
2020-08-19 11:29     ` Roland Hieber
2020-08-21  6:54 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1k90wM-0006x4-OR@dude02.hi.pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox