GNU bug report logs -
#50191
Dired's G, O, T should not follow symlinks
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This follows up from Bug#11912.
The Dired commands G (dired-do-chgrp), O (dired-do-chown) and T
(dired-do-touch) currently follow symbolic links. They should instead
act on the symlinks themselves, as dired-do-chmod does; this better
matches the visual experience of Dired.
Not all platforms support modifying these symlink attributes but many
do, and Dired should support the ones that do, as it already does for
symlink permissions and the M command.
Fixing this bug will also fix some security-relevant race-condition
bugs, where an attacker with write access to a shared nonsticky
directory can cause a Dired-using victim to chgrp, chown, and/or touch
arbitrary files accessible to the victim.
This bug report was last modified 3 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.