[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2427: Magic Folder on Linux: handle case when directory is removed from monitored directory (was: drop-upload on Linux: handle case when directory is removed from drop upload directory)
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Jun 1 16:54:56 UTC 2015
#2427: Magic Folder on Linux: handle case when directory is removed from monitored
directory
-------------------------------------+-------------------------------------
Reporter: dawuud | Owner: dawuud
Type: defect | Status: new
Priority: normal | Milestone: 1.11.0
Component: code-frontend- | Version: 1.10.0
magic-folder | Keywords: test-needed otf-magic-
Resolution: | folder-objective4
Launchpad Bug: |
-------------------------------------+-------------------------------------
Changes (by daira):
* keywords: drop-upload, unix, test-needed, magic-folder => test-needed
otf-magic-folder-objective4
Old description:
> We need to handle the case where a directory is removed or moved out of
> the drop uploader directory. Specifically this case needs to be specially
> handled only when the sub-directory was moved into the drop uploader
> directory and a inotify watch for that sub-directory was added. Further
> investigation is needed to determine the proper way to remove this
> inotify watch.
>
> So far it seems that we will respond to either the `IN_DELETE_SELF` or
> `IN_MOVE_SELF` events for each of these sub-directory inotify "watches".
New description:
We need to handle the case where a directory is removed or moved out of
the monitored local directory.
~~Specifically this case needs to be specially handled only when the sub-
directory was moved into the drop uploader directory and a inotify watch
for that sub-directory was added. Further investigation is needed to
determine the proper way to remove this inotify watch.~~
~~So far it seems that we will respond to either the `IN_DELETE_SELF` or
`IN_MOVE_SELF` events for each of these sub-directory inotify "watches".~~
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2427#comment:9>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list