ian_heys;413222 Wrote: 
> Thanks for the help epoch.
> 
> I'm not a linux expert and I don't understand the script - but I have
> two questions.
> 
> If I execute the script from the command line is the relative path
> relative to the script directory or the command line?
> 
> I understand that chown -R squeezecenter:nogroup means change the
> ownership (to user squeezecenter, group nogroup) recursively of the
> following files:
> 
> but what does ../../. actually mean?
> 
> Thinking about my situation - almost everything on my PC became owned
> by squeezecenter.
Yikes!  Thanks for pointing this out!  

I used the relative path in order to make setting up the plugin easier
for folks running SqueezeCenter from SVN code, which could be installed
anywhere.  "../../." means: "set permissions starting at the parent of
the parent of the current directory."  I assumed that that path would
be calculated from the script's location and not the working directory
of the shell.  Had I added a...

cd /var/lib/squeezecenter/Plugins/SrvrPowerCtrl/scripts/Debian

..to the script, I would have saved you all this bother.

My very, very, very bad.  

I'm very sorry to have wasted so much of your time.  

I'll modify these scripts immediately!


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

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

Reply via email to