[NEVER ANSWERED] - find: Permission denied on filesystems not being queried

Issues related to applications and software problems
Post Reply
User avatar
warron.french
Posts: 515
Joined: 2014/03/27 20:21:58

[NEVER ANSWERED] - find: Permission denied on filesystems not being queried

Post by warron.french » 2020/09/03 21:21:37

Why is this command:

Code: Select all

find /etc/logrotate.d/ -maxdepth 0 -empty

returning find: '/run/user/1000/gvfs': Permission denied

When the command is searching under "/etc/logrotate.d", not "/" ?

How do I prevent the printing of this line and several others, not Permission denied, but No such file or directory, when I am not looking for the directories and they are not under /etc/logrotate.d?
Thanks,
War

Post Reply

Return to “CentOS 7 - Software Support”