CC-1799 : Live Studio Playout from media library (pytagsfs)
need to add pypo to www-data group
This commit is contained in:
parent
a3d7c5e70b
commit
306712fdc1
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue