Fixes permissions on volumes when dir in container is empty

Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Merge pull request #5136 from cpuguy83/5080_fix_empty_volume_perms

Fixes permissions on volumes when dir in container is empty