Bug 13864 - Installs as wrong user on Macintosh
: Installs as wrong user on Macintosh
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Installer
: 7.3.4
: Macintosh MacOS X 10.6
: P3 normal (vote)
: 8.0.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-05 07:46 UTC by John
Modified: 2011-01-17 05:16 UTC (History)
1 user (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2009-09-05 07:46:50 UTC
For recent versions of squeezecenter (7.3.4, 7.4) the mac installer always gives ownership of the preference panes to a different user. I am the only administrative user on the machine (uid=501) and install the software from my account. The installer prompts me for the administrative password. When I view the installed files in 

/Library/PreferencePanes/SqueezeCenter.prefPane

they are owned by another non-admin user on the system (uid=502). I've been chowning the file but I'm not sure why this is happening.  I should also note that this first occurred prior my snow leopard upgrade (i.e. even with 10.5.x).
Comment 1 Michael Herger 2009-09-08 03:38:19 UTC
> The installer prompts me for the administrative password.

That's normal behaviour when installing software, isn't it?

What exactly is the issue you're seeing? Is SC not behaving correctly?
Comment 2 James Richardson 2009-09-08 08:51:07 UTC
John: Can you respond to Michale's inquire below?
Comment 3 John 2009-09-08 16:34:29 UTC
(In reply to comment #1)
> > The installer prompts me for the administrative password.
> 
> That's normal behaviour when installing software, isn't it?
> 
> What exactly is the issue you're seeing? Is SC not behaving correctly?

The prompt is not the issue. The question is, why does it install as a different non-admin user?  Specifically in my case, I found it strange that all the squeezecenter files were owned by my seven-year-old son.  For a normal mac application I would expect the files to be owned either by root or by the user who ran the installation.  So the installer seems to be behaving a bit strangely.
Comment 4 Michael Herger 2009-09-09 02:33:34 UTC
AFAIK we don't set the permissions at all. I'm not sure what's going on here, and I only see this on SL, but not on 10.5.

Matt - might 502 be the user on the build machine? I don't even have a user with ID 502, but still I see this being the owner of the SC installation on SL.
Comment 5 Matt Wise 2009-09-09 08:03:21 UTC
Michael,
   Force a clean checkout just to make sure things are clean on the  
build box... but yes, ID 502 is likely from the build machine. Nothing  
has changed though, so I'm not sure why this would manifest itself  
now...
Comment 6 Matt Wise 2009-09-10 09:58:32 UTC
Michael,
  Did you try a clean checkout -- and have any other changes occurred? The build system has not been  changed in weeks...
Comment 7 Michael Herger 2009-09-11 00:50:50 UTC
Not a P1 as this is not blocking anything from working.
Comment 8 Michael Herger 2009-10-12 07:57:37 UTC
I'm sorry, applying new targeting guidelines