loggedfs icon indicating copy to clipboard operation
loggedfs copied to clipboard

Osx implementation

Open DanilKorotenko opened this issue 3 years ago • 3 comments

The main implementation of loggedfs is working with the one path specified in the arguments. It mounts the fuse volume to the path specified and intercepts operations by splitting paths to realPath and absolutePath.

On OSX, all volumes should be mounted to /Volumes directory.

Only root can mount to the other directory. But if you mount fuse volume as root, the regular user will not have access to it. So this way is not appropriate.

That is why the OSX version is needed to deal with two paths: the one where is fuse volume mounted (/Volumes/LoggedFS), and the one specified in program arguments.

DanilKorotenko avatar Apr 08 '21 08:04 DanilKorotenko

Hi Danil, thank you for your PRs. which one of the twos is the correct one ? Do we really need all the xcode files ?

rflament avatar Apr 18 '21 16:04 rflament

Fixed typo.

DanilKorotenko avatar Apr 30 '21 08:04 DanilKorotenko

hey, when mounting a directory under in /Volumes, are running process that read and write in the "real" directory watched by your version ?

rflament avatar Jan 08 '22 14:01 rflament