tMake metadata directory world readable - pm - barely a pack manager
(HTM) git clone git://z3bra.org/pm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d17c5f2b5394540d33d5751943f0b9d5e5d5d8df
(DIR) parent ff4971919f603107c9a8f0144f6b3f174c0f3fb2
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Mon, 25 Apr 2016 08:23:02 +0200
Make metadata directory world readable
Diffstat:
M pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/pm.c b/pm.c
t@@ -308,7 +308,7 @@ write_metadata(const char *datadir, struct pack *p)
snprintf(tmp, PATH_MAX, "%s/%s", datadir, p->name);
if (stat(tmp, &st) < 0) {
- if ((r = mkdir_parents(tmp, 0750)) < 0)
+ if ((r = mkdir_parents(tmp, 0755)) < 0)
return r;
}