From: Adam Sutton Date: Fri, 7 Mar 2014 20:43:13 +0000 (+0000) Subject: pvr: change the directory permissions to more sane value X-Git-Tag: v4.1~2238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9722e42a984b2901da8a5a648140fd61337f2b82;p=thirdparty%2Ftvheadend.git pvr: change the directory permissions to more sane value This might need reviewing and making configurable, but this is definitely a more sane starting point than the original. --- diff --git a/src/dvr/dvr_rec.c b/src/dvr/dvr_rec.c index 0075a3b30..37fd05203 100644 --- a/src/dvr/dvr_rec.c +++ b/src/dvr/dvr_rec.c @@ -206,7 +206,7 @@ pvr_generate_filename(dvr_entry_t *de, const streaming_start_t *ss) /* */ - if(makedirs(path, 0777) != 0) { + if(makedirs(path, 0755) != 0) { return -1; }