The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=b440741db4ea1ccfa17acc2b3c37863dd819dcf3
commit b440741db4ea1ccfa17acc2b3c37863dd819dcf3 Author: Stefan Eßer <[email protected]> AuthorDate: 2026-06-11 11:42:23 +0000 Commit: Stefan Eßer <[email protected]> CommitDate: 2026-06-11 11:48:49 +0000 tools/test/stress2/misc/msdos12.sh: fix permission issue This test runs with rights of an un-privileged user writing to a file system only writable by the owner. Since no UID was provided in the mount command, the owner of the file system was "root", and thus writing was not allowed for $testuser. Fix this issue by mounting with "-u $testuser". MFC after: 3 days --- tools/test/stress2/misc/msdos12.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/stress2/misc/msdos12.sh b/tools/test/stress2/misc/msdos12.sh index 8e3984305cd7..e34c26046a96 100755 --- a/tools/test/stress2/misc/msdos12.sh +++ b/tools/test/stress2/misc/msdos12.sh @@ -44,7 +44,7 @@ gpart create -s bsd md$mdstart > /dev/null gpart add -t freebsd-ufs md$mdstart > /dev/null part=a newfs_msdos -F 32 -b 8192 /dev/md$mdstart$part > /dev/null -mount -t msdosfs /dev/md$mdstart$part $mntpoint +mount -t msdosfs -o "-u$testuser" /dev/md$mdstart$part $mntpoint mkdir $mntpoint/stressX chmod 0777 $mntpoint/stressX set +e
