-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Fri, 2018-04-06 at 14:50 -0400, ken wrote:
What boffoness is this!?
$ whereis -b vi vim vi: /usr/bin/vi /bin/vi vim: /usr/bin/vim /bin/vim /usr/share/vim
$ ll /usr/bin/vim /bin/vim /usr/bin/vi /bin/vi lrwxrwxrwx 1 root root 3 Mar 24 02:10 /bin/vi -> vim -rw-r--r-- 1 root root 2363952 Jul 2 2017 /bin/vim lrwxrwxrwx 1 root root 8 Mar 24 02:10 /usr/bin/vi -> /bin/vim lrwxrwxrwx 1 root root 8 Mar 24 02:10 /usr/bin/vim -> /bin/vim
In short, everything is a symlink to /bin/vim, but /bin/vim doesn't have execute permissions. Why/How can this be? Does anyone else have this utter strangeness?
Executable here on TW 20180403, but with a deeper rabbit hole... cmyers@caradhras:~> whereis -b vi vim vi: /usr/bin/vi /bin/vi vim: /usr/bin/vim /bin/vim /usr/share/vim cmyers@caradhras:~> ll /usr/bin/vi /usr/bin/vim /bin/vi /bin/vim lrwxrwxrwx 1 root root 12 Mar 29 06:31 /bin/vi -> /usr/bin/vim lrwxrwxrwx 1 root root 12 Mar 29 06:31 /bin/vim -> /usr/bin/vim lrwxrwxrwx 1 root root 3 Mar 29 06:31 /usr/bin/vi -> vim lrwxrwxrwx 1 root root 21 Mar 29 06:31 /usr/bin/vim -> /etc/alternatives/vim cmyers@caradhras:~> ll /etc/alternatives/vim lrwxrwxrwx 1 root root 18 Jul 26 2017 /etc/alternatives/vim -> /usr/bin/vim-nox11 cmyers@caradhras:~> ll /usr/bin/vim-nox11 - -rwxr-xr-x 1 root root 2988520 Mar 29 06:31 /usr/bin/vim-nox11 -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE7GM/Dul8WSWn72odQ1nEo4DFCIUFAlrHxEYACgkQQ1nEo4DF CIW6Uwf/VPAdD0WbZa3ABKeaIs30TRCWnExF3P6uPtIcAeo+3LdLX0b22BHmyvXX mtEzJYWV3/QH9c4vWUAJbXTfs1j/IF5iQ0tgAqi7juoBRwCdduthxP+s0Zi/ASzC Q1GPmPRaguwMZs+j15EPGPUxkbN/+vtQ5LaweciWmgSvLCwmKX6KDdbaIgozuVma kIPPKagyZ7QbvySMG9HDjvsYoxcE5ge2HCffv1q118qQns7jEIwwMJOEoonft8dd TjrtC3Fgf+jVCaujYVDUoDvye7u/5OHhGeHpfVuOky5Ga5uP6C/LBiYZOZOv+pV4 4CzkiGZzPBNFyn8AkFEf6FqytP/FeA== =dohl -----END PGP SIGNATURE-----