partitioning server with 2 hard drives

Valeri Galtsev galtsev at kicp.uchicago.edu
Wed Sep 16 01:34:48 UTC 2020



> On Sep 15, 2020, at 5:26 PM, Polytropon <freebsd at edvax.de> wrote:
> 
> 
> For /tmp, as well as any partition where user-controlled files can
> be placed, it has been correctly suggested to use specific mount
> options such as "noexec" and "nosuid"

When I joined this advise I forgot one case that bit me in the past when I made /tmp “noexec”. Open Office (by Sun Microsystems). That beast (java based, BTW) when user starts it was creating executable for that specific user in /tmp, then started that executable. With all due respect to Sun and all good they have done/made, that was what really set me off. I do not know if Libre Office does similar thing though…

Valeri

> . You can immediately see the
> advantage of such per-partition settings. ;-)
> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list