Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
billziss-gh committed Oct 26, 2021
1 parent b58c8e6 commit a87d935
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# Changelog


**v1.6.0**

- Add `FileSystemHost.SetCapDeleteAccess` [Windows only]. A file system can use this capability to deny delete access on Windows. Such a file system must:
- Implement the `Access` file system operation and handle the new `fuse.DELETE_OK` mask to return `-fuse.EPERM` for files that should not be deleted. An example implementation might look like:
```Go
func (fs *filesystem) Access(path string, mask uint32) int {
if "windows" == runtime.GOOS {
if 0 != mask&fuse.DELETE_OK {
if "/nounlink" == path {
return -fuse.EPERM
}
}
return 0
} else {
return -fuse.ENOSYS
}
}
```
- Return -fuse.EPERM from `Unlink` / `Rmdir` for files that should not be deleted.


**v1.5.0**

- Add `FileSystemHost.Notify` API which allows file change notification to be issued from the user mode file system [Windows only].
Expand Down

0 comments on commit a87d935

Please sign in to comment.