Skip to content

Commit

Permalink
Revert "Config: Adjust perms to 0644 for sync-state.plist (#218)"
Browse files Browse the repository at this point in the history
This reverts commit cb676b7.
  • Loading branch information
mlw authored Jan 23, 2025
1 parent 0111caa commit 7ba0a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/common/SNTConfigurator.m
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ - (void)saveSyncStateToDisk {
syncState[kAllowedPathRegexKey] = [syncState[kAllowedPathRegexKey] pattern];
syncState[kBlockedPathRegexKey] = [syncState[kBlockedPathRegexKey] pattern];
[syncState writeToFile:self.syncStateFilePath atomically:YES];
[[NSFileManager defaultManager] setAttributes:@{NSFilePosixPermissions : @0644}
[[NSFileManager defaultManager] setAttributes:@{NSFilePosixPermissions : @0600}
ofItemAtPath:self.syncStateFilePath
error:NULL];
}
Expand Down

0 comments on commit 7ba0a2c

Please sign in to comment.