If mode= is not set in rootflags= add mode=0755 when a tmpfs
is used on the rootfs, otherwise it will be group/world writable
as that's the default mode for tmpfs filesystems.
Follow-up for 725ad3b062
14 lines
262 B
SYSTEMD
14 lines
262 B
SYSTEMD
# Automatically generated by systemd-fstab-generator
|
|
|
|
[Unit]
|
|
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
|
|
SourcePath=/proc/cmdline
|
|
Before=initrd-root-fs.target
|
|
After=imports.target
|
|
|
|
[Mount]
|
|
What=rootfs
|
|
Where=/sysroot
|
|
Type=tmpfs
|
|
Options=rw,mode=0755
|