summaryrefslogtreecommitdiff
path: root/services/incremental/IncrementalService.h
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2020-02-03 19:20:58 -0800
committerSongchun Fan <schfan@google.com>2020-02-04 03:27:08 +0000
commit9610093a7b3d70ce60a82331c650e7a12b26bbc9 (patch)
tree2e503e6f841393e8e3629fd84068b49e2d6121dc /services/incremental/IncrementalService.h
parent206a1b5490ccef98aa88d24496892926b9e66c09 (diff)
fix dir creation mode
They need to be writable by owner. Test: manual Change-Id: I3e99094e5752c0f6bb351cc24bdf5698b7a4bde2
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r--services/incremental/IncrementalService.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h
index ca5e4dbd9231..b08e68b0c6cd 100644
--- a/services/incremental/IncrementalService.h
+++ b/services/incremental/IncrementalService.h
@@ -109,8 +109,8 @@ public:
int makeFile(StorageId storage, std::string_view path, int mode, FileId id,
incfs::NewFileParams params);
- int makeDir(StorageId storage, std::string_view path, int mode = 0555);
- int makeDirs(StorageId storage, std::string_view path, int mode = 0555);
+ int makeDir(StorageId storage, std::string_view path, int mode = 0755);
+ int makeDirs(StorageId storage, std::string_view path, int mode = 0755);
int link(StorageId sourceStorageId, std::string_view oldPath, StorageId destStorageId,
std::string_view newPath);