On Tue, 2015-01-27 at 13:48 +0100, Christian Boltz wrote:
Hello,
Am Dienstag, 27. Januar 2015 schrieb Dimstar / Dominique Leuenberger:
On Tue, 2015-01-27 at 05:09 -0500, Felix Miata wrote:
ls of /usr/bin/X points to /var/lib/X11/X with red background
ls of /usr/bin/Xorg also has red background
Red background indicates an executable with SUID bit set. So far so good.
Well, broken symlinks also have a red background ;-) - and in theory someone could even change his $LS_COLORS ;-)
Serious? A user that reports 'I see this background color' is VERY unlikely of having changed his color setup; he solely relies on the fact that the reader can identify what his background color means. The 'broken symlink' argument I give you though. The foreground color would tell :) (white on red => SUID binary, yellow on red, broken symlink)
Instead of guessing around, it's more useful to paste the ls -l output, and in case of a symlink also the ls -l output for the link target (or a note that the symlink points to a non-existing file).
Sure... but in the end... in either way, it is broken.
--
Dimstar / Dominique Leuenberger