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?
Looks good: (on 42.3) test422:~ # ll /usr/bin/vim /bin/vim /usr/bin/vi /bin/vi lrwxrwxrwx 1 root root 3 Jan 25 19:06 /bin/vi -> vim -rwxr-xr-x 1 root root 2363952 Jul 2 2017 /bin/vim lrwxrwxrwx 1 root root 8 Jan 25 19:06 /usr/bin/vi -> /bin/vim lrwxrwxrwx 1 root root 8 Jan 25 19:06 /usr/bin/vim -> /bin/vim On Leap 15: jensen:~ # ll /usr/bin/vi /bin/vi /usr/bin/vim /bin/vim lrwxrwxrwx 1 root root 12 Mar 24 07:33 /bin/vi -> /usr/bin/vim lrwxrwxrwx 1 root root 12 Mar 24 07:33 /bin/vim -> /usr/bin/vim lrwxrwxrwx 1 root root 3 Mar 24 07:33 /usr/bin/vi -> vim lrwxrwxrwx 1 root root 21 Mar 24 07:33 /usr/bin/vim -> /etc/alternatives/vim jensen:~ # l /etc/alternatives/vim lrwxrwxrwx 1 root root 18 Mar 28 19:33 /etc/alternatives/vim -> /usr/bin/vim-nox11* -- Per Jessen, Zürich (14.3°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org