fstab-generator: set mode=0755 with root=tmpfs
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
This commit is contained in:
committed by
Yu Watanabe
parent
80edc0ecdd
commit
d3a57a0853
@@ -10,4 +10,4 @@ After=imports.target
|
||||
What=rootfs
|
||||
Where=/sysroot
|
||||
Type=tmpfs
|
||||
Options=rw
|
||||
Options=rw,mode=0755
|
||||
|
||||
Reference in New Issue
Block a user