Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kext ownership settings



Chuck,

> Message: 1
> Date: Sun, 25 Aug 2002 10:39:55 -0500
> Subject: kext ownership settings
> From: chuck remes <email@hidden>
> To: email@hidden
>
> Under darwin 6.0 (os x 10.2) the kernel now enforces some security on
> kexts by requiring they be owned by root, be in the wheel group, and
> probably have mode 755 on the directories.
>
> This makes doing ProjectBuilder builds really tough when running the
> build as a regular user and not root. Yep, PB complains that it can't
> overwrite the kext because of ownership.
>
> It's a real pain to go in and "sudo rm -rf my.kext" every time I want
> to build it and then "sudo chown -R root:wheel my.kext" afterwards.
>
> Anyone have a slick way of setting up PB so it can get around this?
>
> cr
>
> --__--__--

I posted a similar message last week with a response suggesting that I post
the message to the Project Builders group list (which I have not yet done).

I would be really be interested in a solution to this problem as I think it
is also a pain to rm -r myKext.kext in addition to changing the owner and
group each time I rebuild my driver.

There were a few threads in the archives which stated that the problem is
resolved by adding the following to your target's Build Settings:

INSTALL_GROUP = wheel
INSTALL_OWNER = root

I tried this and it did not change the owner and group as I had hoped. I
tried logging in as root and a user to no avail. Please let me know if this
works for you.

Take care,

Tim
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.