Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
On 2015-03-08 23:06, Lennart Poettering wrote: On Sun, 08.03.15 12:48, Goffredo Baroncelli (kreij...@libero.it) wrote: dev_t major_minor; +int attrib_value; +int attrib_mask; int appears to be a strange choice for a bitmask. The existing chattr_fd() and

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-09 Thread Ronny Chevalier
2015-03-10 0:17 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: On 2015-03-08 15:00, Ronny Chevalier wrote: 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes,

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-09 Thread Goffredo Baroncelli
On 2015-03-08 15:00, Ronny Chevalier wrote: 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Lennart Poettering
On Sun, 08.03.15 12:48, Goffredo Baroncelli (kreij...@libero.it) wrote: dev_t major_minor; +int attrib_value; +int attrib_mask; int appears to be a strange choice for a bitmask. The existing chattr_fd() and chattr_path() calls use unsigned for this, so this should

[systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- src/tmpfiles/tmpfiles.c |

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Ronny Chevalier
2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not.

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 03:00:38PM +0100, Ronny Chevalier wrote: 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are