Re: [systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.

2015-01-30 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 12, 2015 at 06:03:31PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jan 12, 2015 at 03:11:08PM +0100, Thomas Blume wrote: > > On Donnerstag 2015-01-08 21:29, Zbigniew Jędrzejewski-Szmek wrote: > > > > >On Thu, Jan 08, 2015 at 01:37:57PM +0100, Thomas Blume wrote: > > >>Currently

Re: [systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.

2015-01-12 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 12, 2015 at 03:11:08PM +0100, Thomas Blume wrote: > On Donnerstag 2015-01-08 21:29, Zbigniew Jędrzejewski-Szmek wrote: > > >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. Thi

Re: [systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.

2015-01-12 Thread Thomas Blume
On Donnerstag 2015-01-08 21:29, Zbigniew Jędrzejewski-Szmek wrote: 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 th

Re: [systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.

2015-01-08 Thread Zbigniew Jędrzejewski-Szmek
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 > specifi

[systemd-devel] [PATCH] Add usernames as arguments to tmpfiles ignore directives.

2015-01-08 Thread Thomas Blume
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/* - - -