Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

PackageMaker set owner and permissions

 
   Soft32 Home -> Mac -> Programmer Help RSS
Next:  Work From Home and Earn Thousands (2474)  
Author Message
Florian Ümlötl

External


Since: Apr 23, 2009
Posts: 1



(Msg. 1) Posted: Thu Apr 23, 2009 3:20 am
Post subject: PackageMaker set owner and permissions
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hi NG

How can I set the right values for my app in the packagemaker.
I guess it has to be root:admin and 775 for a normal app.
I'm not able to set these values in the packagemaker.
It sets always me as owner and wheel a group. If I install the package
on a different machine, the owner becomes unknown.

Thank you.

Florian
Back to top
Login to vote
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 2) Posted: Thu Apr 23, 2009 7:20 am
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Florian Ümlötl <edv RemoveThis @zschocke-berlin.de> schrieb:

> Hi NG
>
> How can I set the right values for my app in the packagemaker.
> I guess it has to be root:admin and 775 for a normal app.
> I'm not able to set these values in the packagemaker.
> It sets always me as owner and wheel a group. If I install the package
> on a different machine, the owner becomes unknown.
>
I set it now with in postfight script. But this progie is sometimes acting
very curios.

Thanx Florian
Back to top
Login to vote
Gregory Weston

External


Since: Mar 26, 2005
Posts: 3646



(Msg. 3) Posted: Thu Apr 23, 2009 9:43 am
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
<18242B5A-2004-4285-B740-ED798693A5B3%edv@zschocke-berlin.de>,
Florian Umlotl <edv DeleteThis @zschocke-berlin.de> wrote:

> Hi NG
>
> How can I set the right values for my app in the packagemaker.
> I guess it has to be root:admin and 775 for a normal app.

755 is more common. Apple does 775 for some reason, but IMO there's
relatively little reason for anyone other than the owner to have 'write'
on a properly-written app.

G

--
I saw a truck today that had "AAA Batteries / Delivered and Installed" on the
side. My first thought was: That's a really weird business model. How many
inept people have urgent need of skinny little battery cells?
Back to top
Login to vote
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 4) Posted: Thu Apr 23, 2009 11:20 am
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Gregory Weston <uce.RemoveThis@splook.com> schrieb:


>
> 755 is more common. Apple does 775 for some reason, but IMO there's
> relatively little reason for anyone other than the owner to have 'write'
> on a properly-written app.
>
I took a look in applications. The most is 755. I guess the reason is that
you don't have to authenticate if you want to delete it (as admin)?
Also, perhaps it is dangerous if you have to run a installer as root?

Thanx Florian.

P.S.: My PackageMaker dose not show the curios behavior anymore. I had to
repair the permissions on the disk (in this case that really fixed
something). I don't understand how the packagemaker was influenced by the
permissions on the disk. Now, if I click on content, the right owner and
permissions are shown (and are set if you click on "Apply Recommendations").
Back to top
Login to vote
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 5) Posted: Thu Apr 23, 2009 1:20 pm
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Florian Zschocke <edv.RemoveThis@zschocke-berlin.de> schrieb:

> Gregory Weston <uce.RemoveThis@splook.com> schrieb:
>
>
>>
>> 755 is more common. Apple does 775 for some reason, but IMO there's
>> relatively little reason for anyone other than the owner to have 'write'
>> on a properly-written app.
>>
> I took a look in applications. The most is 755. I guess the reason is that
Sorry ^^^
I meant 775. Most in applications is 775.

Florian
Back to top
Login to vote
Gregory Weston

External


Since: Mar 26, 2005
Posts: 3646



(Msg. 6) Posted: Thu Apr 23, 2009 5:20 pm
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
<6AE94E0B-7B30-4DC8-B945-15A854A2A974%edv@zschocke-berlin.de>,
Florian Zschocke <edv DeleteThis @zschocke-berlin.de> wrote:

> Florian Zschocke <edv DeleteThis @zschocke-berlin.de> schrieb:
>
> > Gregory Weston <uce DeleteThis @splook.com> schrieb:
> >
> >
> >>
> >> 755 is more common. Apple does 775 for some reason, but IMO there's
> >> relatively little reason for anyone other than the owner to have 'write'
> >> on a properly-written app.
> >>
> > I took a look in applications. The most is 755. I guess the reason is that
> Sorry ^^^
> I meant 775. Most in applications is 775.
>
> Florian

Sure. But how does the ratio work out when you ignore Apple's apps?

The ability to delete (aka "move to another directory") is more related
to your rights on the source and destination (/Applications and
~/.Trash, for example) than to your rights on the item being moved.

--
I saw a truck today that had "AAA Batteries / Delivered and Installed" on the
side. My first thought was: That's a really weird business model. How many
inept people have urgent need of skinny little battery cells?
Back to top
Login to vote
Florian Zschocke

External


Since: Feb 21, 2007
Posts: 300



(Msg. 7) Posted: Fri Apr 24, 2009 5:20 am
Post subject: Re: PackageMaker set owner and permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Gregory Weston <uce RemoveThis @splook.com> schrieb:


> Sure. But how does the ratio work out when you ignore Apple's apps?
>
> The ability to delete (aka "move to another directory") is more related
> to your rights on the source and destination (/Applications and
> ~/.Trash, for example) than to your rights on the item being moved.
>

At least the hole Adobe stuff is also 775. PackageMaker calls 775
"Recomendations". But I really I don't have a good knowledge about these
security related things. I hoped it would do for me and it did clear wrong.
Now I believe it got confused because I use a mobile (OSX Server) account.
I think the OpenDirectory changed the group form admin to staff e.c.t.
What is sure, is that it is affected be the existing permissions and group-
ids and from my feeling that is wrong (or a bug). It should set the
applications with destination /Applications to root:admin and 775 or 755.

Thanx Florian
Back to top
Login to vote
Display posts from previous:   
Related Topics:
loadNibNamed:owner: - I'm just learning Cocoa. I seem to be gradually getting my head around it but it's not easy. So I'm using [NSBundle....

How to make owner draw radio button? - I'd like to make the buttons that acts like the radio buttons but I'd like to have the icon on top of the button. Can....

File's owner clarification and others Cocoa issues - Hello there, I'm (still) new to Cocoa programming and I would really appreciate some help about the following topics ...

Explicitly loading nib files and file's owner - Hi, I am actually a new Cocoa Programmer (I switched recently :) and I use the book from Aaron Hillegass to learn..

Dialog owner issue with Mac OS X 10.4 - Hi, I am trying this sample applet on 2 different Mac OS X's 1) Mac OS X 10.3.9 Safari 1.3.2 (v312.6) JVM ...

Packagemaker and localization - Hi all, i already have an installer with packagemaker. I know that if i create folders like French.lproj in the..
       Soft32 Home -> Mac -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]