Jeff07971 wrote: 
> 
> sudo echo "OPTIONS=--nomysqueezebox" > /home/tc/.slimserver.cfg
> I also get -sh: can't create /home/tc/.slimserver.cfg: Permission denied
> 

That's because the 'sudo echo "stuff" ' bit runs in a subshell as root
as you would expect, but the critical ' > /file ' output redirect runs
in your current shell as your current user with your current privs. You
need both parts of the command to run in the root subshell.



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..
------------------------------------------------------------------------
drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to