Skip to content

Commit

Permalink
podman: change permissions on /usr/share/containers/seccomp.json
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
flyn-org authored and Lienol committed Dec 19, 2021
1 parent 45fe3c3 commit b27484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/podman/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b27484a

Please sign in to comment.