Skip to content

install gvm lead to cd commad failed #439

@sheepcat

Description

@sheepcat

[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# rpm -qa |grep bash
bash-4.2.46-34.el7.x86_64

i install gvm by this way :
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

after installd, i logout and relogin , found cd cmd failed:
[root@localhost ~]# pwd
/root
[root@localhost ~]# cd /
[root@localhost ~]# pwd
/root

when i delete the dir, it recoverd:
rm -rf /root/.gvm/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions