Public bug reported:
Reproducer:
#!/bin/sh
mkdir -p d/sub
: > d/sub/target
ln -s target d/sub/link
/usr/lib/cargo/bin/coreutils/chmod -R -w d
Will fail with
chmod: d/sub/link: new permissions are r-xrwxrwx, not r-xr-xr-x
Note: a-w/u-w/go-w are fine
** Affects: rust-coreutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167122
Title:
chmod -R -w has wrong permissions through symlinks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2167122/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs