ShareX/ShareX.HelpersLib/Settings
Malte Kuhlmann 22859d5053
Ensure proper saving of settings on file shares
On Windows file shares (DFS) with restricted WRITE_DAC permission, the method File.Replace results in a System.UnauthorizedAccessException, even when the user has full permissions to interact with the file and folder. This configuration can commonly be found in business environments.

By setting the flag ignoreMetadataErrors to true, errors related to attributes and ACL are ignored. This results in the settings being saved correctly. Normal errors during file operation are not suppressed with this change, they should fail as usual.
2022-07-12 13:31:03 +02:00
..
DPAPIEncryptedStringPropertyResolver.cs Update year 2022-01-11 19:32:17 +03:00
DPAPIEncryptedStringValueProvider.cs Update year 2022-01-11 19:32:17 +03:00
JsonEncryptAttribute.cs Update year 2022-01-11 19:32:17 +03:00
KnownTypesSerializationBinder.cs Update year 2022-01-11 19:32:17 +03:00
SafeStringEnumConverter.cs Update year 2022-01-11 19:32:17 +03:00
SettingsBase.cs Ensure proper saving of settings on file shares 2022-07-12 13:31:03 +02:00
WritablePropertiesOnlyResolver.cs Update year 2022-01-11 19:32:17 +03:00