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?