Up to now I used this line in
/home/ftp_user /home/app_user/mounts/ftp_user fuse.bindfs mirror=app_user 0 0
This works. The
app_user can access the files of
ftp_user like if the files would be his own files.
Now I would like to use inotify. The
app_user listens for changes in the bind-mounted directory.
It works if
app_user touches a file in
But it does not work, if
ftp_user touches a file in
Is there way to get this working?
OS: Linux only.
Update: use http if possible
If possible avoid clever inotify solutions. Receiving files via http is often better, since you can validate the files before accepting them. See use http, avoid ftp/sftp/scp/rsync/smb/mail