Back to list
sftp posix rename
Feb 10 2010 07:23AM
Sergey Smirnov (svs1957 gmail com)
I have files monitoring system based on Linux inotify.
When CLOSE_WRITE or MOVED_TO inotify events occur on file it's processed somehow.
The problem is that some clients put temporary files via sftp and then rename it to real files name.
Inotify catch only CREATE event on those files because sftp server do link/unlink instead of rename.
Is any way to setup sftp server to prevent link/unlink for rename and do only posix rename?
RHEL 4, Kernel 220.127.116.11, OpenSSH_3.9p1, OpenSSL 0.9.7a
Thank you in advance for any help.
[ reply ]
Copyright 2010, SecurityFocus