root não pode acessar o sistema de arquivos virtual? [duplicado]

0

Ao tentar verificar meu uso do disco em /, descobri que o root não tinha acesso a determinados sistemas de arquivos virtuais. Eu também não pude verificar as permissões no sistema de arquivos virtual. Por que é isso?

lanix ~ # du -sk / | sort -rn | head
    du: cannot access ‘/proc/11983/task/11983/fd/4’: No such file or directory
    du: cannot access ‘/proc/11983/task/11983/fdinfo/4’: No such file or directory
    du: cannot access ‘/proc/11983/fd/4’: No such file or directory
    du: cannot access ‘/proc/11983/fdinfo/4’: No such file or directory
    du: cannot access ‘/run/user/1000/gvfs’: Permission denied
    5851640 /
    lanix ~ # cd /run/user/1000/gvfs
    -su: cd: /run/user/1000/gvfs: Permission denied
    lanix ~ # ls -l /run/user/1000/gvfs
    ls: cannot access /run/user/1000/gvfs: Permission denied
    lanix ~ # ls -ld /run/user/1000/gvfs
    ls: cannot access /run/user/1000/gvfs: Permission denied

De / etc / sudoers

    # User privilege specification

root    ALL=(ALL:ALL) ALL
    
por user 25.11.2014 / 12:13

1 resposta

2

Veja mais aqui:

link

/proc is a pseudo filesystem; it's a part of your RAM and contains information for every >existing process. So, if a process does not exist anymore when du tries to count it, or if >a process has closed a file descriptor (subdirectory fd or fdinfo) in the meantime, you get >this message. You must keep in mind, that du will at first build a list of files and >directories to count and later will count their sizes. Meanwhile there will be a lot of >changes on your system - processes are finished, file descriptors are closed and so on.

    
por 25.11.2014 / 12:45

Tags