mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
User more appropriate permissions (755 -> 644)
This commit is contained in:
@@ -20,7 +20,7 @@ func marshalToFile(filePath string, j interface{}) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return ioutil.WriteFile(filePath, data, 0755)
|
||||
return ioutil.WriteFile(filePath, data, 0644)
|
||||
}
|
||||
|
||||
func encode(j interface{}) ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user