djberg96/sys-filesystem — pull request #8 by dunedain289 (2014-08-11 15:31:04+00:00)
Title: swallow EPERM errors when trying to find the mount point for a path

Since this method will just return the original path on failure, swallowing this error seems safe enough. I've seen problems with this when there are FUSE mounts present, since FUSE mounts are usually locked to 0700 permissions.