bug#43415: coreutils 8.32: install: fchmod fails with EBADF

2020-09-15 Thread Paul Eggert
On 9/14/20 6:31 PM, Cameron Nemo via GNU coreutils Bug Reports wrote: It seems like relying on the /proc link is not ideal, and a bug is being hidden by such behavior. Is there any chance that this can be resolved? It really should be fixed in the Linux kernel: it needs a proper way to

bug#43415: coreutils 8.32: install: fchmod fails with EBADF

2020-09-15 Thread Cameron Nemo via GNU coreutils Bug Reports
Hello, I am experiencing some curious behavior when trying to set the file mode using the install command. Version info: install (GNU coreutils) 8.32 Summary of behavior: fchmod to 1777 fails with EBADF The log from strace shows the following:     ...     geteuid()