Support Extended Permissions on macOS
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
Summary
Cryptomator currently does not support extended permissions in macOS and can causes an error message.
Motivation
Some files in macOS have extended permissions.
example: xattr ~/Downloads/Document.pdf com.apple.lastuseddate#PS com.apple.quarantine
These extended permission can cause Cryptomator to raise an exception and fail to move a file when moving a file location within a macOS application such as the PDF viewer Preview that comes with macOS which has opened a PDF file from the Downloads directory then move it through the Preview UI to a Cryptomator vault. This operation is especially important in the user workflow of scanning documents with the macOS native Preview application to a local directory, editing before moving them to a Cryptomator Vault via the Preview application UI.
The error manifests to the user as the message the user does not have permission to access the Cryptomator vault despite the user having the vault mounted and unlocked.
Cryptomator TRACE Log Error: 18:47:47.123 [Thread-23] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /Document.pdf failed, node not found
Error Experiences in UI (which is misleading):
Considered Alternatives
The current manual alternative/workaround is to not move files within macOS native applications like Preview but to use the Finder with the file closed.
Workaround workflow is:
- Open file from local directory in Preview.
- Close file from Preview.
- Open Finder, find file and move to Vault.
- Open file now stored in Cryptomator Vault again with Preview.
- Work on file then close.
Anything else?
No response
Source: cryptomator/cryptomator