paul- wrote:
> did you try to drop the '/' from the end of --logdir
Yes, just tried that, same behaviour.
As I said earlier, it looks like the files are being created *before*
the process drops to the 'squeezeboxserver' user, so have root:root
ownership and only root can write.
If I change the permissions on the files to 666, then I can start the
server up (and it appears to stay running) but later get the following:
Code:
--------------------
[20-03-25 12:33:17.0006] Slim::Utils::Prefs::Namespace::savenow (337)
Error: can't save /var/lib/squeezeboxserver/prefs/plugin/fulltext.prefs:
Permission denied at /usr/share/perl5/Slim/Utils/Prefs/Namespace.pm line 326.
--------------------
This seems to be a similar issue, the 'prefs/plugin' directory seems be
owned by root with restrictive permissions:
Code:
--------------------
root@68af7df47f3e:/var/log/squeezeboxserver# ls -alR
/var/lib/squeezeboxserver/prefs
/var/lib/squeezeboxserver/prefs:
total 32
drwxr-xr-x 1 squeezeboxserver nogroup 4096 Mar 25 12:33 .
drwxr-xr-x 1 squeezeboxserver nogroup 4096 Mar 25 11:35 ..
-rw-r--r-- 1 squeezeboxserver nogroup 162 Mar 25 12:31 favorites.opml
-rw-r--r-- 1 squeezeboxserver nogroup 5474 Mar 25 12:31 log.conf
drwxr-xr-x 2 root root 4096 Mar 25 12:31 plugin
-rw-r--r-- 1 squeezeboxserver nogroup 6164 Mar 25 12:33 server.prefs
/var/lib/squeezeboxserver/prefs/plugin:
total 8
drwxr-xr-x 2 root root 4096 Mar 25 12:31 .
drwxr-xr-x 1 squeezeboxserver nogroup 4096 Mar 25 12:33 ..
--------------------
Thanks
Andy
------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=111828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix