]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
pvr: change the directory permissions to more sane value
authorAdam Sutton <dev@adamsutton.me.uk>
Fri, 7 Mar 2014 20:43:13 +0000 (20:43 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 7 Mar 2014 20:43:13 +0000 (20:43 +0000)
This might need reviewing and making configurable, but this is definitely
a more sane starting point than the original.

src/dvr/dvr_rec.c

index 0075a3b30c3f715de6568d39f145f889f9097ffd..37fd052034a6ac59f624cdb2db8fbf501b723532 100644 (file)
@@ -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;
   }