Re: FORCE_DIR_SET_GID denied inside nix's build sandbox

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

 



Le mar. 25 oct. 2022 09h54 -0700, Junio C Hamano a écrit :
> But if you use 0600, then the group ownership should not matter, so
> 
>     /* Copy read bits to execute bits */
>     new_mode |= (new_mode & 0444) >> 2;
>     if (new_mode & 060)
> 	new_mode |= FORCE_DIR_SET_GID;
> 
> might be what you want?
That change makes more sense indeed,
and does relax the chmod enough
to solve our problem when running public-inbox tests
into nix's build sandbox.

Thank you!

PS: please let me know if you need me to submit a proper patch,
otherwise I'm leaving this up to you if you don't mind.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux