On Fri, Oct 11, 2013 at 02:38:23PM +0100, Rodolfo Gouveia wrote: > On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: > > Try `su' to your user on that system and try to `ls -lR' those dirs, > > I suppose he won't be able to do that. > > > > j. > > Thanks Jiri. > Indeed he can't. > > I've looked at this closer and I found out that on some machines dump > doesn't give any error even though the user 'backup' can't list the > contents of the folder: > $ whoami > backup > $ ls -lhd /var/audit > drwxrws--- 2 root wheel 512B Mar 13 2013 /var/audit > $ ls -lhR /var/audit > ls: audit: Permission denied
As 'backup' user is not in 'wheel' group, not he is obviously 'root', hehe, he is out of luck. j.