winfsp / cgofuse

Cross-platform FUSE library for Go - Works on Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD
https://winfsp.dev
MIT License
527 stars 84 forks source link

Enable LOCK feature #62

Open A-Iskakov opened 3 years ago

A-Iskakov commented 3 years ago

Is it possible to re-enable File System Locking in the fsop.go module?

billziss-gh commented 3 years ago

The feature could be enabled in cgofuse, but it would not do much good. Currently neither WinFsp in Windows nor OSXFUSE on macOS provide any forwarding of locking related file operations. Locking is handled in-kernel automatically.

What file system scenario are you trying to support with having locking exposed to user mode?

A-Iskakov commented 3 years ago

Hi @billziss-gh Thanks for your response. I want to enable LOCK signals of WebDAV in RClone Here is the issue created for it https://github.com/rclone/rclone/issues/5483