mirror of
https://github.com/restic/restic.git
synced 2026-02-03 04:20:45 -05:00
fs: Clarified documentation
This commit is contained in:
parent
d14823eb81
commit
3ab68d4d11
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Enhancement: Enable file system privileges before access
|
||||
Enhancement: Enable file system privileges on Windows before access
|
||||
|
||||
Restic attempted to enable (Windows) file system privileges when
|
||||
Restic attempted to enable Windows file system privileges when
|
||||
reading or writing security descriptors - after potentially being wholly
|
||||
denied access to previous items. It also read file extended attributes without
|
||||
using the privilege, possibly missing them and producing errors.
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ func testGetRestrictedFilePath(t *testing.T) string {
|
|||
test.OK(t, testfile.Close())
|
||||
|
||||
// Set restricted permissions.
|
||||
// Deny file read/write/execute to "Everyone" (all accounts); allow delete to "Everyone".
|
||||
sd, err := windows.SecurityDescriptorFromString("D:PAI(D;;FRFWFX;;;WD)(A;;SD;;;WD)")
|
||||
test.OK(t, errors.Wrap(err, "failed to parse SDDL: %s"))
|
||||
dacl, _, err := sd.DACL()
|
||||
|
|
|
|||
Loading…
Reference in a new issue