[projects/geninitrd] Mount /run with 0755.

Jakub Bogusz qboosh at pld-linux.org
Tue Jun 7 16:21:27 CEST 2016


On Tue, Jun 07, 2016 at 08:30:57AM +0200, arekm wrote:
> commit 583a7f5f8783fb1f92b75ca9f651d675df016b73
> Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
> Date:   Tue Jun 7 08:30:46 2016 +0200
> 
>     Mount /run with 0755.
[...]
> -	echo "mount -t tmpfs run /run" | add_linuxrc
> +	echo "mount -t tmpfs run /run -o mode=0755" | add_linuxrc

I'd suggest also noexec,nosuid... not sure about nodev
(Debian/Ubuntu don't use nodev for /run, I saw it in some report from other
distro)


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list