Re: [PATCH v1 2/2] idmapped-mounts: Add umask before test setgid_create

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on 2022/4/1 14:08, xuyang2018.jy@xxxxxxxxxxx wrote:
> on 2022/3/31 20:02, Christian Brauner wrote:
>> On Thu, Mar 31, 2022 at 05:28:22PM +0800, Yang Xu wrote:
>>> Since stipping S_SIGID should check S_IXGRP, so umask it to check whether
>>> works well.
>>>
>>> Signed-off-by: Yang Xu<xuyang2018.jy@xxxxxxxxxxx>
>>> ---
>>
>> (Sidenote: I really need to rename the test binary to something other
>> than idmapped-mounts.c as this tests a lot of generic vfs stuff that has
>> nothing to do with them.)
>>
>> Tested-by: Christian Brauner (Microsoft)<brauner@xxxxxxxxxx>
>> Reviewed-by: Christian Brauner (Microsoft)<brauner@xxxxxxxxxx>
>>
>>> If we enable acl on parent directory, then umask is useless, maybe we
>>> also add setfacl on parent directory because we may change the order
>>> about strip S_ISGID and posix_acl setup. Any idea?
>>
>> If acls figure into this then this should probably be a new test or
>> subtest.
> Will add it on v2

I have a holiday (4.2-4.5), so will do this v2 in next week when I come 
back.

Best Regards
Yang Xu
>
> Best Regards
> Yang Xu




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux