Bugzilla – Bug 1142055
/tmp mount not nodev,nosuid by default
Last modified: 2019-07-19 08:38:36 UTC
I noticed that in a default install, the @/tmp subvolume mounted at /tmp does not have the nodev,nosuid options set by default.
This is recommended by most security guides and except in very rare cases without any downsides.
Using tmp.mount unit from systemd (which uses tmpfs), those flags are set.
Thanks for reporting. Yes, right now we have no way to specify such options for each Btrfs subvolume. We have plans to improve it, this is something under our radar. We will track this card to take it into account. Thanks!