Skip to content

Commit b4ef1e9

Browse files
committed
CI: fix "ls: cannot access '/etc/cni/net.d': Permission denied"
The CI host was probably updated recently and the permission bits of the directory was changed. Fix 5077 Signed-off-by: Akihiro Suda <[email protected]>
1 parent 757be0a commit b4ef1e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ jobs:
339339
[plugins.cri.containerd.default_runtime]
340340
runtime_type = "${TEST_RUNTIME}"
341341
EOF
342-
ls /etc/cni/net.d
342+
sudo ls /etc/cni/net.d
343343
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/containerd -a ${BDIR}/c.sock --config ${BDIR}/config.toml --root ${BDIR}/root --state ${BDIR}/state --log-level debug &> ${BDIR}/containerd-cri.log &
344344
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/ctr -a ${BDIR}/c.sock version
345345
sudo PATH=$PATH BDIR=$BDIR GOPATH=$GOPATH critest --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8

0 commit comments

Comments
 (0)