If the find
command is executed by a non-superuser it will not be able to access files and directories that are not owned by the user or if the permissions "r,w,x" have not be granted to that user. If you want to check this, type
ls -l /home/simmer/.local/share/gvfs-metadata
This command should return something like:
drwx------ 2 simmer simmer 12288 Jun 8 17:39 gvfs-metadata
The first column represents the permissions set by the owners of the file or directory.
The third and fourth columns represent the owner and group of the file/folder respectively.
If you are not the owner or if you do not have sufficient permission as indicated by the first column, the find
program cannot access them. However, using the sudo
command elevates your privileges and thus as the find
command is now executed by the superuser the directory and its sub-directories can now be accessed.