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() a
2015-03-10 0:17 GMT+01:00 Goffredo Baroncelli :
> On 2015-03-08 15:00, Ronny Chevalier wrote:
>> 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli :
>>> From: Goffredo Baroncelli
>>>
>>
>> Hi,
>>
>>> Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1)
>>> does. Two more comman
On 2015-03-08 15:00, Ronny Chevalier wrote:
> 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli :
>> From: Goffredo Baroncelli
>>
>
> 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,
>> recu
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
shou
On Sun, Mar 08, 2015 at 03:00:38PM +0100, Ronny Chevalier wrote:
> 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli :
> > From: Goffredo Baroncelli
> >
>
> Hi,
>
> > Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1)
> > does. Two more commands are added: 'H' and 'h' to se
2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli :
> From: Goffredo Baroncelli
>
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.
>
> Signed-off-by: Goffredo Baroncelli
From: Goffredo Baroncelli
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
---
src/tmpfiles/tmpfiles.c | 155