Fix root access to VitastorFS files

This commit is contained in:
Vitaliy Filippov
2025-10-09 19:24:05 +03:00
parent ceba343ac0
commit 89b76a87b6
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -13,6 +13,12 @@ sudo mount localhost:/ ./testdata/nfs -o port=2050,mountport=2050,nfsvers=3,soft
MNT=$(pwd)/testdata/nfs
trap "sudo umount -f $MNT"' || true; kill -9 $(jobs -p)' EXIT
touch ./testdata/nfs/f1
chown 1000:1000 ./testdata/nfs/f1
chmod 600 ./testdata/nfs/f1
sudo cat ./testdata/nfs/f1
rm ./testdata/nfs/f1
# write small file
ls -l ./testdata/nfs
dd if=/dev/urandom of=./testdata/f1 bs=100k count=1