Por que não é possível entrar no ponto de montagem?

0

Meu sistema operacional é debian8.

cat /etc/group |grep 'debian8'
root:x:0:debian8
debian8:x:1000:

debian8 é o membro do grupo raiz.

cat /etc/sudoers
root    ALL=(ALL:ALL) ALL
%sudo   ALL=(ALL:ALL) ALL
debian8  ALL=(ALL:ALL)ALL

debian8 pode executar qualquer comando como root.

root@hwy:/home/debian8# find / -name 'vimrc'
/home/debian8/openwrt/feeds/packages/utils/vim/files/vimrc
/root/openwrt/feeds/packages/utils/vim/files/vimrc
/usr/share/vim/vimrc
/etc/vim/bundle/Vundle.vim/test/vimrc
/etc/vim/bundle/vundle/test/vimrc
/etc/vim/vimrc

Não há Cannot chdir into mountpoint output.

root@hwy:/home/debian8# sudo find / -name 'vimrc'
Cannot chdir into mountpoint.
/home/debian8/openwrt/feeds/packages/utils/vim/files/vimrc
/root/openwrt/feeds/packages/utils/vim/files/vimrc
/usr/share/vim/vimrc
/etc/vim/bundle/Vundle.vim/test/vimrc
/etc/vim/bundle/vundle/test/vimrc
/etc/vim/vimrc
Cannot chdir into mountpoint.
root@hwy:/home/debian8# su debian8
debian8@hwy:~$ sudo find / -name 'vimrc'
[sudo] password for debian8:
Cannot chdir into mountpoint.
/home/debian8/openwrt/feeds/packages/utils/vim/files/vimrc
/root/openwrt/feeds/packages/utils/vim/files/vimrc
/usr/share/vim/vimrc
/etc/vim/bundle/Vundle.vim/test/vimrc
/etc/vim/bundle/vundle/test/vimrc
/etc/vim/vimrc
Cannot chdir into mountpoint.

Cannot chdir into mountpoint output para as duas últimas situações.
Por que existem duas linhas de saída Cannot chdir into mountpoint. ?
@ Julie, aqui está o que eu recebo.

debian8@hwy:~$ cd  /tmp
debian8@hwy:/tmp$ cd

Nada de saída.

debian8@hwy:~$ cd /tmp
debian8@hwy:/tmp$ sudo bash -c "cd /"
Cannot chdir into mountpoint.
Cannot chdir into mountpoint.    

Agora existem duas linhas de saída Cannot chdir into mountpoint.

root@hwy:~# cd /tmp
root@hwy:/tmp# sudo su -;
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'
    
por it_is_a_literature 15.08.2016 / 03:04

1 resposta

0

grochmal diz a resposta.

find / -mount -name vimrc 

É alguma camada de segurança.

    
por 20.08.2016 / 04:16

Tags