mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45: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(pw) {
|
||||||
if(initgroups(user,pw->pw_gid) != 0 ||
|
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",
|
DPRINTF(E_LOG,L_MISC,"Couldn't chown %s, gid=%d, uid=%d\n",
|
||||||
user,pw->pw_gid, pw->pw_uid);
|
user,pw->pw_gid, pw->pw_uid);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user