[Bug 2828] New: Extension for BSD style advisory file locking operations

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jan 31 23:54:36 AEDT 2018


            Bug ID: 2828
           Summary: Extension for BSD style advisory file locking
           Product: Portable OpenSSH
           Version: 7.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp-server
          Assignee: unassigned-bugs at mindrot.org
          Reporter: github at kalvdans.no-ip.org

Created attachment 3117
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3117&action=edit
Suggested patch 1

sshfs does not currently support forwarding flock(2) operations to the
remote host.

This report is about implementing the necessary parts in the
sftp-server program. The sshfs side has its own pull request at

The suggested patch is uploaded to


and also attached to this bug report.

The patch adds support for file locking operations LOCK_EX|LOCK_NB and
LOCK_SH|LOCK_NB to sftp-server. Allocate a new extension string for the
flock operations.

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list