CC-1799 : Live Studio Playout from media library (pytagsfs)

need to add pypo to www-data group
This commit is contained in:
naomiaro 2011-05-05 11:58:45 -04:00
parent 9c46b0d396
commit c398b82c68
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ def create_user(username):
print "User already exists."
#add pypo to audio group
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):
if (os.path.exists(dest_dir)) and (dest_dir != "/"):