mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 23:07:55 +00:00
kata-deploy: All binaries installed by kata should be writable by root
Prior to this, some of the binaries installed by kata were not owned by root. Any user can write/replace these binaries. This was happening as tar perserves ownership while creating the archive. Change the ownership of all binaries to root. Fixes #489 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
@@ -11,6 +11,7 @@ yum install -y bzip2 jq && \
|
||||
curl -sOL ${KATA_URL}/${KATA_FILE} && \
|
||||
mkdir -p /opt/kata-artifacts && \
|
||||
tar xvf ${KATA_FILE} -C /opt/kata-artifacts/ && \
|
||||
chown -R root:root /opt/kata-artifacts/ && \
|
||||
rm ${KATA_FILE}
|
||||
|
||||
RUN \
|
||||
|
Reference in New Issue
Block a user