Page MenuHomePhabricator

D9947.diff
No OneTemporary

D9947.diff

diff --git a/src/cache/PhutilKeyValueCacheDirectory.php b/src/cache/PhutilKeyValueCacheDirectory.php
--- a/src/cache/PhutilKeyValueCacheDirectory.php
+++ b/src/cache/PhutilKeyValueCacheDirectory.php
@@ -98,7 +98,7 @@
if (!Filesystem::pathExists($key_dir)) {
Filesystem::createDirectory(
$key_dir,
- $mask = 0777,
+ $mask = 0755,
$recursive = true);
}
@@ -215,7 +215,7 @@
}
if (!Filesystem::pathExists($this->getCacheDirectory())) {
- Filesystem::createDirectory($this->getCacheDirectory(), 0777, true);
+ Filesystem::createDirectory($this->getCacheDirectory(), 0755, true);
}
$lock = PhutilFileLock::newForPath($this->getCacheDirectory().'.lock');

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 11:47 PM (20 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6789514
Default Alt Text
D9947.diff (762 B)

Event Timeline