Closed ammmir closed 2 years ago
CryptoFS is only part of the software stack involved here. It is more likely that the VFS changes your desired permissions. Can you please use the bug form in the cryptomator repo so we know exactly what FS implementation you're using? Thanks!
On Cryptomator 1.6.14 on macOS, if you create an executable file the file is created but with the incorrect permissions. A quick Go program to demonstrate:
The resulting file
exe
should have permissions of 0755 but instead has permissions of 0644:Is the initial mode of the open call being ignored and the default being used? It seems cryptofs is (also?) ignoring the umask when a file is created:
whereas it should have been created with the correct mode: