fix: 755 -> 0755 in perm
This commit is contained in:
@@ -40,7 +40,7 @@ func saveToCache(tzMap TimezoneMap) error {
|
|||||||
path := getCachePath()
|
path := getCachePath()
|
||||||
dir := filepath.Dir(path)
|
dir := filepath.Dir(path)
|
||||||
|
|
||||||
if err := os.MkdirAll(dir, 755); err != nil { // creates if not exists
|
if err := os.MkdirAll(dir, 0755); err != nil { // creates if not exists
|
||||||
return fmt.Errorf("failed to create cache dir")
|
return fmt.Errorf("failed to create cache dir")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user