Fix chmod/chown of empty NFS root directory

This commit is contained in:
Vitaliy Filippov
2026-03-03 02:05:37 +03:00
parent c541dd422f
commit 637684c579
2 changed files with 9 additions and 2 deletions
+2
View File
@@ -15,6 +15,8 @@ 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
chown 1000:1000 ./testdata/nfs
touch ./testdata/nfs/f1
chown 1000:1000 ./testdata/nfs/f1
chmod 600 ./testdata/nfs/f1