On 04/06/2018 03:02 PM, Christopher Myers wrote:
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 N�����r��y隊Z)z{.�ﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h���Ǿ� ޮ�^�ˬz�
Christopher, is your machine running at runlevel 3 only? Just curious. Thanks for all the responses. I should have said I'm running 42.3. I just changed the perms to 755, but this is turning out to be the most whacked-out Linux install I've ever seen, and that includes SLS from 1993. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org