Fix QLocalFile file permission error on Windows (fixes nitroshare/nitroshare-desktop#107).
This commit is contained in:
@@ -59,7 +59,7 @@ bool QLocalFilePrivate::setPermission()
|
||||
ea.grfAccessMode = GRANT_ACCESS;
|
||||
ea.grfInheritance = SUB_CONTAINERS_AND_OBJECTS_INHERIT;
|
||||
ea.Trustee.TrusteeForm = TRUSTEE_IS_NAME;
|
||||
ea.Trustee.ptstrName = L"CREATOR OWNER";
|
||||
ea.Trustee.ptstrName = L"CURRENT_USER";
|
||||
|
||||
// Create a new ACL with a single access control entry
|
||||
PACL pACL;
|
||||
|
||||
Reference in New Issue
Block a user