I was looking in /usr/bin
tonight and saw this:
The symbolic link in cyan / red is a curiosity:
lrwxrwxrwx 1 root root 25 Jul 19 04:48 ubuntu-core-launcher -> ../lib/snapd/snap-confine*
As I don't use snapd
yet (Ubuntu 16.04 / Unity Interface) I'm not really concerned but I'm curious if anyone else has encountered this strange coloured link and what it means with all the dangerous looking red?
ls
. Instead of filling the width of file name, it probably paddedprintf()
function to fill the screen width with blanks, but instead of sticking control character to uncolonize the output at the end of filename, it stuck it at the end of the padding. – Sergiy Kolodyazhnyy Sep 26 '18 at 23:42-rwsr-sr-x root root 98440 Jul 19 04:48 /usr/lib/snapd/snap-confine
Notice thes
wherex
for execute usually resides forroot
andgroup ID
, yet Everyone is set tox
and nots
. – WinEunuuchs2Unix Sep 26 '18 at 23:52s
bit, that's what the steeldriver's link actually explains. So red because it's SUID program and it can do root things without promoting for password – Sergiy Kolodyazhnyy Sep 26 '18 at 23:58printf
usage. – WinEunuuchs2Unix Sep 27 '18 at 00:00