Hi,

I want to be able to run squeezecenter-rescan as a user other than
'squeezecenter'. However I get the following error:


Code:
--------------------
    
  Can't call method "dbh" on an undefined value at 
/usr/share/perl5/Slim/Music/Import.pm line 252.
  END failed--call queue aborted.
  (in cleanup) Can't open /var/lib/squeezecenter/cache/cookies.dat: Permission 
denied at /usr/share/squeezecenter/CPAN/HTTP/Cookies.pm line 409 during global 
destruction.
  
--------------------


Basically it's a permissions error. Is there a way around this?

Also...
- Why does the script need to read cookies.dat? That seems a bit odd?
- Would it be easy to add a squeezecenter group and make all
squeezecenter processes use it? Then I could add the users who had
rescan permissions to this group.


Any thoughts / answers?

--Gaff


-- 
Gaff
------------------------------------------------------------------------
Gaff's Profile: http://forums.slimdevices.com/member.php?userid=14471
View this thread: http://forums.slimdevices.com/showthread.php?t=43738

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to