Skip to content

Commit 9a94879

Browse files
committed
[worker.php] Set ownership on homedir/.config for chromium
1 parent 75fc00b commit 9a94879

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

www/daemon/worker.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@
214214
sysCmd('cp /usr/share/moode-player' . ETC_MACHINE_INFO . ' /etc/');
215215
workerLog('worker: File check created default /etc/machine-info');
216216
}
217+
// Set ownership on homedir/.config for chromium
218+
sysCmd('chown pi:pi ' . $_SESSION['home_dir'] . '/.config/');
219+
217220
// Moode-player package should set these but "file not found" errors occur so lets set them here
218221
sysCmd('chmod 0644 ' . ETC_MACHINE_INFO);
219222
sysCmd('chmod 0644 ' . '/etc/systemd/system/bluealsa.service');

0 commit comments

Comments
 (0)