securefolderfs-community / SecureFolderFS

Powerful, secure, modern way to keep your files protected.
MIT License
180 stars 14 forks source link

Implemented FUSE #18

Closed taj-ny closed 1 year ago

taj-ny commented 1 year ago

This PR implements FUSE, which will allow SecureFolderFS to run on Linux in the future.

A temporary project (SecureFolderFS.CLI) has been introduced to allow testing on Linux. It will be removed once everything is done.

Because the library I used is not available on NuGet, a package source needs to be added manually. See https://github.com/tmds/Tmds.Fuse#getting-started.

Links and symlinks will be implemented in the future.

To do

taj-ny commented 1 year ago

The LibreOffice input/output error when saving can be temporarily resolved by running sync -d [file in unlocked vault], even though Flush, FSync and FSyncDir are not implemented and always return ENOSYS . The fix lasts until the vault is locked.

Implementing the methods and making them always return 0 (success) breaks this fix, but the error still remains. Weird.

taj-ny commented 1 year ago

The LibreOffice input/output error when saving can be temporarily resolved by running sync -d [file in unlocked vault], even though Flush, FSync and FSyncDir are not implemented and always return ENOSYS . The fix lasts until the vault is locked.

Implementing the methods and making them always return 0 (success) breaks this fix, but the error still remains. Weird.

Caused by invalid method signatures. Fixed by switching to seertenedos's fork.