Skip to content

Commit 704c624

Browse files
committed
[worker..php] Fix permissions
Moode-player package should set these but "file not found" errors occur so lets set them in worker.hp /etc/machine-info /etc/systemd/system/bluealsa.service
1 parent 160d993 commit 704c624

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
@@ -210,6 +210,9 @@
210210
sysCmd('cp /usr/share/moode-player' . ETC_MACHINE_INFO . ' /etc/');
211211
workerLog('worker: File check created default /etc/machine-info');
212212
}
213+
// Moode-player package should set these but "file not found" errors occur so lets set them here
214+
sysCmd('chmod 0644 ' . ETC_MACHINE_INFO);
215+
sysCmd('chmod 0644 ' . '/etc/systemd/system/bluealsa.service');
213216
workerLog('worker: File check: complete');
214217

215218
// Log to RAM

0 commit comments

Comments
 (0)