[systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.
zbyszek at in.waw.pl
Thu Jan 8 12:29:15 PST 2015
On Thu, Jan 08, 2015 at 01:37:57PM +0100, Thomas Blume wrote:
> Currently, systemd can only ignore files specified by their path, during
> tmpdir cleanup. This patch adds the feature to give usernames as argument.
> During cleanup the file ownership is checked and files that match the specified
> usernames are ignored.
> For example, you could give:
> X /tmp/* - - - - testuser3,testuser2
I think the patch is useful, but the syntax is wrong. We already have a field
for user name - it is the 4th column. The advantage is that it would be natually
possible to extend it to groups.
More information about the systemd-devel