Tuesday, December 03, 2019
If you have a file system (nfs, etc.) mounted on-top of a directory and you need to see file permissions, ACLs, etc. of the underlying directory and not the mounted fs then:
# mount -F lofs -o nosub /some/path/ /mnt/fix
# mount -B /some/path/ /mnt/fix
If you access /mnt/fix now you won't see any mounted filesystems on top of any directories, just the underlying fs.
I used it in the past and forgot about it, needed it yesterday and found it here.