git: b8b046a259ed - main - nanobsd: Set the proper mode for /tmp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 18:13:01 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=b8b046a259eded36eb9bd6a1c02d60a78dae24f6
commit b8b046a259eded36eb9bd6a1c02d60a78dae24f6
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-01-17 18:06:01 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-01-17 18:06:01 +0000
nanobsd: Set the proper mode for /tmp
The correct mode for /tmp is 1777, keep the same mode when symlinking it
to /var/tmp.
Reviewed by: imp, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48784
---
tools/tools/nanobsd/defaults.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index 749a4bd785dc..65339633e0af 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -567,7 +567,7 @@ setup_nanobsd() {
echo "mount -o ro /dev/${NANO_DRIVE}${NANO_SLICE_CFG}" > conf/default/etc/remount
# Put /tmp on the /var ramdisk (could be symlink already)
- tgt_dir2symlink tmp var/tmp
+ tgt_dir2symlink tmp var/tmp 1777
) > ${NANO_LOG}/_.dl 2>&1
}