From 37df6c3ca056cf043e77b81b7cd30c0f7b10ced9 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Wed, 16 Jun 2021 22:08:01 -0500 Subject: [PATCH] podman: change permissions on /usr/share/containers/seccomp.json Running podman as users other than root seems to require that those users can read /usr/share/containers/seccomp.json. This change sets the permissions on that file to match those used on Fedora. Signed-off-by: W. Michael Petullo (cherry picked from commit a41556af4f2fb5c79b3a7902b4f3ca3b81644920) --- utils/podman/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/podman/Makefile b/utils/podman/Makefile index 6710ac59d4..a7976df24a 100644 --- a/utils/podman/Makefile +++ b/utils/podman/Makefile @@ -100,7 +100,7 @@ define Package/podman/install $(INSTALL_DIR) $(1)/etc/cni/net.d $(INSTALL_CONF) $(PKG_BUILD_DIR)/cni/87-podman-bridge.conflist $(1)/etc/cni/net.d/ $(INSTALL_DIR) $(1)/usr/share/containers - $(INSTALL_CONF) $(PKG_BUILD_DIR)/vendor/github.com/containers/common/pkg/seccomp/seccomp.json $(1)/usr/share/containers/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/vendor/github.com/containers/common/pkg/seccomp/seccomp.json $(1)/usr/share/containers/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/podman.init $(1)/etc/init.d/podman $(SED) 's/driver = \"\"/driver = \"overlay\"/g' $(1)/etc/containers/storage.conf -- 2.30.2