Skip to content

Commit e7851d7

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]> (cherry picked from commit b4ef1e9) Signed-off-by: Akihiro Suda <[email protected]>
1 parent 8a7e41c commit e7851d7

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
@@ -363,7 +363,7 @@ jobs:
363363
[plugins.cri.containerd.default_runtime]
364364
runtime_type = "${TEST_RUNTIME}"
365365
EOF
366-
ls /etc/cni/net.d
366+
sudo ls /etc/cni/net.d
367367
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 &
368368
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/ctr -a ${BDIR}/c.sock version
369369
sudo PATH=$PATH BDIR=$BDIR GOPATH=$GOPATH critest --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8

0 commit comments

Comments
 (0)