mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
tab exapand
This commit is contained in:
parent
f1037ae45a
commit
1a71d3bdd7
@ -210,7 +210,7 @@ extern int os_chown(char *path, char *user) {
|
||||
|
||||
if(pw) {
|
||||
if(initgroups(user,pw->pw_gid) != 0 ||
|
||||
chown(path, pw->pw_uid, pw->pw_gid) != 0) {
|
||||
chown(path, pw->pw_uid, pw->pw_gid) != 0) {
|
||||
DPRINTF(E_LOG,L_MISC,"Couldn't chown %s, gid=%d, uid=%d\n",
|
||||
user,pw->pw_gid, pw->pw_uid);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user