diff options
author | Johannes Beisswenger <johannes@beisswenger.name> | 2016-05-19 20:56:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-05-20 20:15:33 +0200 |
commit | c77bbcb06d68c3e5bd33541c0caefb671752342c (patch) | |
tree | b5e989dcc61ff879f946037dfe521a34912ae7eb /src | |
parent | 00f9b403433ea6a4ce2a6db5bd203d0298c0e959 (diff) |
Fixed destination directories permissions being restricted to 0755.
Diffstat (limited to 'src')
-rw-r--r-- | src/dlfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlfile.c b/src/dlfile.c index 5d2e251..d402ccf 100644 --- a/src/dlfile.c +++ b/src/dlfile.c @@ -418,7 +418,7 @@ void dlfile_finished(dl_t *dl) { /* Create destination directory, if it does not exist yet. */ char *parent = g_path_get_dirname(fdest); - r = g_mkdir_with_parents(parent, 0755); + r = g_mkdir_with_parents(parent, 0777); g_free(parent); if(r < 0) { g_warning("Error creating directory for `%s': %s.", dl->dest, g_strerror(errno)); |