A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

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?

Click Here!