March 29, 2011

OpenSSH 5.3 not Locking Files While Uploading

Hi,

I have an SSHD server running on Redhat version 5. When uploading a file to the SFTP server, it appears that the file is not locked for edit, read or write. I am able to move, copy, delete the file while it is being uploaded. I see that the vsftpd has the option to enable a parameter "lock_upload_files" so that all uploads will proceed with a write lock on the files being uploaded. Does SFTP have a similar parameter that may work for me?