encfs
encfs copied to clipboard
Drive content refresh on macOS
Hello, I'm using encfs on macOS 10.12 with Dropbox. If I upload a file into the encrypted folder from another computer, the dropbox folder syncs immediately, but the encfs drive doesn't refresh. I try to pass "-o attr_timeout=0 -o entry_timeout=0" to OSXFUSE, but it doesn't work. Is there anyway to tell encfs drive to refresh immediately when the underlying folder's content is updated. Thanks!
So when you run "ls -l" on the decypted folder timestamp and file size do not update?
When I run "ls -l" in the terminal, I can see the new file already in the drive, but Finder doesn't refresh immediately. Is there any way to force Finder to refresh? Thanks!
I don't know any, and this is a major pain in the neck for network drives as well. If you find a way please report back :)
I tried to make encfs drive local using "-o local", but it makes no difference. I suppose it's a bug in Finder. :(
@leochou0729 did you manage to find a solution ?
@benrubson Unfortunately no. I have no idea whether it is a bug in OSXFUSE. I have the same problem on Windows 10 using encfs4win with Dokan library.
Does using another Fuse FS (such as the trivial passfs : https://github.com/jrk/passfs) lead to the same Finder refresh bug ?
@benrubson passfs also has the same problem. If I mount it as local drive, I need to remount to show its content. If I mount it normally as network drive, I can just close Finder and open the drive again to show its content. ls command can always show the correct content.
The issue is then certainly on OSXFUSE side or MacOS side. Perhaps you should open an OSXFUSE bug report ?
OK. I will submit a bug report. Thanks!
https://github.com/osxfuse/osxfuse/issues/392 I've already submitted a bug report, but it seems to be an issue on encfs side. @benrubson @rfjakob
OK, EncFS should then have to implement functions explained in your bug report to notify Finder. It does not use them yet. Thank you for this @leochou0729 👍