The IN_DELETE_SELF mask for inotify_add_watch indicates that an event
should be emitted when the watched path is deleted, however, this does
not happen on an eCryptfs mount.
To reproduce:
mkdir upper lower
sudo mount -t ecryptfs lower upper
and compile and run the following test program in the upper directory:
Lucid SRU Justification:
The IN_DELETE_SELF mask for inotify_add_watch indicates that an event
should be emitted when the watched path is deleted, however, this does
not happen on an eCryptfs mount.
To reproduce:
mkdir upper lower
sudo mount -t ecryptfs lower upper
and compile and run the following test program in the upper directory:
https:/ /launchpadlibra rian.net/ 64953109/ inotify. c
This test program hangs waiting for the IN_DELETE_SELF event that never
occurs.