Setting the modes must be done as part of creating the file; "fixing" them after the file is created is a race (even if `fchmod(2)` is used). "Fixing" them by re-walking the filesystem and then issuing a `chmod(2)` is unacceptable.
Please revert to GNU `cp` (and any other utility using this code path) until uutils uses a safe mechanism to set modes. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2165041 Title: Missing setuid flag in su and sudo To manage notifications about this bug go to: https://bugs.launchpad.net/rust-coreutils/+bug/2165041/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
