Re: [PATCH 4.4 1/2] btrfs: Don't clear SGID when inheriting ACLs

2018-03-07 Thread Nikolay Borisov
On 7.03.2018 09:57, Nikolay Borisov wrote: > From: Jan Kara > > When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit > set, DIR1 is expected to have SGID bit set (and owning group equal to > the owning group of 'DIR0'). However when 'DIR0' also has some default > ACLs that

[PATCH 4.4 1/2] btrfs: Don't clear SGID when inheriting ACLs

2018-03-06 Thread Nikolay Borisov
From: Jan Kara When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID bit set (and owning group equal to the owning group of 'DIR0'). However when 'DIR0' also has some default ACLs that 'DIR1' inherits, setting these ACLs will result in SGID bi