Skip to content

Commit

Permalink
Added more information about the synchronization issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknellessen committed Mar 14, 2016
1 parent 8dba827 commit b41ba02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Binary file removed fuseecs/fuseecs
Binary file not shown.
16 changes: 12 additions & 4 deletions fuseecs/fuseecs.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,25 @@

const char *Forbidden_file_names[NUMBER_OF_FORBIDDEN_FILE_NAMES] = {PASSWORD_FILE_NAME, ENCFS_CONFIGURATION_FILE};

/* General TODO: Dropbox does not do the synchronisation automatically anymore. We can make it by choosing
/* Dropbox does not do the synchronisation automatically anymore. We can make it by choosing
* stop synchronisation and then start synchronisation.
* When we touch the file (as the dropbox user), e.g. touch Dropbox/9NY4zYsTpDh5hTS9644caqGa, Dropbox syncs
* it afterwards. Touching the file directly, i.e. touch .ecs/encrypted/9NY4zYsTpDh5hTS9644caqGa does not work.
* Even touching the file as the normal user, i.e. touch Dropbox/9NY4zYsTpDh5hTS9644caqGa works. Dropbox then
* syncs the file. Anyhow, this command creates a file with the plaintext name 9NY4zYsTpDh5hTS9644caqGa, i.e.
* a new encrypted file in .ecs/encrypted is created, which is not synced yet.
*/

/* General TODO: Dropbox does not synchronize files in directories like Dropbox/dir_1/subdirectory/
*
* Dropbox does not synchronize files in directories like Dropbox/dir_1/subdirectory/
* Even not after restarting Dropbox. Touching the subdirectory helps.
*
* It seems like Dropbox uses inotify to get notified about file changes. See for example
* http:https://stillatmylinux.com/dropbox-cant-monitor-the-filesystem/ . inotify and fuse directories do not seem
* to work together, see for example https://sourceware.org/ml/libc-help/2011-08/msg00009.html
* and http:https://comments.gmane.org/gmane.comp.file-systems.fuse.devel/11539
* and https://sourceforge.net/p/fuse/mailman/message/24625009/
*
* This problem is on the libfuse TODO list. See https://github.com/libfuse/libfuse/wiki/TODO-List (look
* for "inotify support"). I asked a question concerning this on the libfuse mailing list.
*/

/* General TODO: From Dropbox's point of view, is it possible to do a path traversal attack? I.e. reading the folder
Expand Down

0 comments on commit b41ba02

Please sign in to comment.