Skip to content
Browse files

Fix perms on cache directory

When we create a directory, the executable bit needs to be set in its
mode or else we won’t have permission to create files inside it.
  • Loading branch information...
1 parent 883e581 commit 549dfceb506dbd9edff6c018925631db4aacd922 @robinhouston committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/callback-cache.class.php
View
2 lib/callback-cache.class.php
@@ -36,7 +36,7 @@ function load($cache_file) {
else {
// No. Try to create it.
if(!file_exists($this->cache_file)) {
- mkdir(dirname($this->cache_file), 0644, true);
+ mkdir(dirname($this->cache_file), 0755, true);
}
return touch($this->cache_file);
}

0 comments on commit 549dfce

Please sign in to comment.
Something went wrong with that request. Please try again.