diff --git a/vezha/smoke.sh b/vezha/smoke.sh index ff7ee21b9..d8c2c8601 100644 --- a/vezha/smoke.sh +++ b/vezha/smoke.sh @@ -140,7 +140,7 @@ case $mode in write_two_versions read_back_versions mcr admin user add s rouser "$RO_SECRET" > /dev/null - mcr admin policy attach s readonly --user rouser > /dev/null + mcr admin policy attach s readwrite --user rouser > /dev/null got=$(mcr_ro cat r/vbkt/key | sha256sum | cut -d' ' -f1) [ "$got" = "$S2" ] || fail "the read-only user cannot read the key" code=0