]> git.parisson.com Git - telecaster-server.git/commitdiff
chmod rss & m3u dirs
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 22 Jul 2013 16:36:51 +0000 (18:36 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 22 Jul 2013 16:36:51 +0000 (18:36 +0200)
tcserver/conf/etc/network/if-up.d/telecaster-rsync
tcserver/install.py

index 59f5047dcb1570ecd3ab9f8831f1d351698669a5..6a08fdea302c91d1471b8ede49c1a251d9268a51 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-/usr/local/lib/telecaster/instance/manage.py teleforma-import-conferences Pre-Barreau /var/log/telecaster/import.log
+#/usr/local/lib/telecaster/instance/manage.py teleforma-import-conferences Pre-Barreau /var/log/telecaster/import.log
 
index 504ffe71d8fb73820c198fead2331874767ed983..d517e2d4a271e2ca044fe1305091fd41d4bda512 100644 (file)
@@ -136,6 +136,11 @@ class Install(object):
         os.system('update-rc.d telecaster-video defaults 81 14')
         os.system('update-rc.d telecaster-audio defaults 82 13')
 
+        os.system('chmod 777 ' + self.m3u_dir)
+        os.system('chmod 666 ' + self.m3u_dir + '/*')
+        os.system('chmod 777 ' + self.rss_dir)
+        os.system('chmod 666 ' + self.rss_dir + '/*')
+
     def run(self):
         if self.options['keepinit'] == False:
             print 'Installing init files...'