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 <[email protected]>
---

Notes:
    Besides: how would one fix this in the other package? I have that case
    for another set of packages where one creates a folder with 2775 and
    others should copy files in it, which fails because 0755 are the
    implicit rights. Recreate that folder in each package?

 rules/sudo.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/sudo.make b/rules/sudo.make
index 985ab8768..dd8c1bb67 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
-- 
2.27.0


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to