On Thu, Mar 28, 2024 at 03:58:24AM +0900, Dominique Martinet wrote: > Also, if I'm reading this correctly it actually make /usr/bin 777 > because of flawed logic (stat -c %a /bin instead of %{_bin} (= /usr/bin); > given /bin is normally a symlink to /usr/bin that stat will return 777 > and the later chmod to "restore" the mode will corrupt it)
Thanks; that's an overlooked (but fairly serious) bug, and has just been fixed in the repository where the code come from. > But hopefully it's only ever been run in throw-away containers Which is the explicitly [1][2] only way it is expected to be used. [1] <https://skarnet.org/lists/skaware/1926.html>. [2] <https://github.com/CasperVector/ihep-pkg-ose/blob/master/README>. -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2024.09.30) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C