<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">2015-04-28 11:39 GMT+02:00 Lennart Poettering <span dir="ltr"><<a href="mailto:mzerqung@0pointer.de" target="_blank">mzerqung@0pointer.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Tue, 28.04.15 00:55, Michał Zegan (<a href="mailto:webczat_200@poczta.onet.pl">webczat_200@poczta.onet.pl</a>) wrote:<br>
<br>
> Hello.<br>
><br>
> I have discovered how to add resource limits for the user, like how<br>
> much memory the user can use, or how much cpu time.<br>
> Here is the problem: /tmp seems a way for the user to circumvent this<br>
> restriction. Is there a way to protect it too?<br>
<br>
</span>Nope. There have been discussions for adding quota to tmpfs, but this<br>
lead nowhere.<br></blockquote><div><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=693253">https://bugzilla.redhat.com/show_bug.cgi?id=693253</a><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
You can disable tmpfs-on-/tmp, and run it on xfs or ext4 instead and<br>
use classic per-user quota though.<br>
<span class=""><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span><div class=""><div class="h5">_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<br>Michal<br><br><a href="http://eventhorizon.pl/" target="_blank">http://eventhorizon.pl/</a><br></div></div>
</div></div>