CC-1799 : Live Studio Playout from media library (pytagsfs)
need to add pypo to www-data group
This commit is contained in:
parent
9c46b0d396
commit
c398b82c68
|
@ -45,6 +45,8 @@ def create_user(username):
|
||||||
print "User already exists."
|
print "User already exists."
|
||||||
#add pypo to audio group
|
#add pypo to audio group
|
||||||
os.system("adduser " + username + " audio 1>/dev/null 2>&1")
|
os.system("adduser " + username + " audio 1>/dev/null 2>&1")
|
||||||
|
#add pypo to www-data group
|
||||||
|
os.system("adduser " + username + " www-data 1>/dev/null 2>&1")
|
||||||
|
|
||||||
def copy_dir(src_dir, dest_dir):
|
def copy_dir(src_dir, dest_dir):
|
||||||
if (os.path.exists(dest_dir)) and (dest_dir != "/"):
|
if (os.path.exists(dest_dir)) and (dest_dir != "/"):
|
||||||
|
|
Loading…
Reference in New Issue