I agree it's a bug, but I think the code as written is what the
developer intended. If you look at the next few lines, the script
creates a log directory in the user's home directory if there is no
root-level Application Support folder.
dean blackketter;264116 Wrote:
> Hm, that path is wrong. It should be ~/Library not /LIbrary, so
> that the logs are written to the user's library, not the system wide
> one.
>
> I'll file a bug. Thx!
>
> On Jan 30, 2008, at 12:36 PM, El Callado wrote:
>
> > The first thing I noticed was a problem with the script
> > Slim/Utilities/OSDetect.pm. Lines 184-186 are as follows:
> >
> > Code:
> > --------------------
> > if (-d "/Library/Application Support/SqueezeCenter") {
> >
> > mkpath("/Library/Logs/SqueezeCenter");
> > --------------------
> >
> > This causes a permission error if the user who first runs the
> > server is
> > not a member of the admin group. Even if the directory exists and is
> > world-writable (which it shouldn't be), trying to write to log files
> > created by another user won't work. With multiple users able to run
>
> > SC,
> > each one should have his own logs. So I commented this out. The same
> > goes for lines 194-196, which assume there is a root-level log
> > directory if there is a root-level Application Support directory.
> >
> > Another change that should be made to this file is to add the
> MacPorts
> > directory '/opt/local/bin' to the binary search path on line 128.
> >
--
El Callado
------------------------------------------------------------------------
El Callado's Profile: http://forums.slimdevices.com/member.php?userid=15274
View this thread: http://forums.slimdevices.com/showthread.php?t=42891
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta