On 20.04.17 17:07, Bill Cole wrote:
ls -ld /usr/bin/X11
lrwxrwxrwx 1 root root 1 Mar 11  2007 /usr/bin/X11 -> .

That's a weird Ubuntu (or Debian?) quirk. It shouldn't be necessary but it probably shouldn't be fiddled with either, except maybe to 'chmod -h o-w /usr/bin/X11' (to remove the world-writable permission from the symlink.)

it's for backward compatibility, some programs used to search for X binaries
in /usr/bin/X11/, but since they are stored in /usr/bin, X11 symlink was
created to point to current directory (thus, /usr/bin).

the symlink permissions are not important, from chmod man page:

  chmod never changes the permissions of symbolic links; the chmod system
  call cannot change their permissions.  This is not a problem since the
  permissions  of  symbolic links are never used.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

Reply via email to