code: def _remap_input(self, operation, path, *args, **kw):
          
          if operation in self.write_ops and not self._ok(path):
              self._violation(operation, os.path.realpath(path), *args, **kw)
          return path
docs: Called for path inputs