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



I just wrote a three line script which does those things:

cp -pr /Users/emmett/Driver/build/FooDriver.kext /tmp
chown -R root.wheel /tmp/FooDriver.kext
kextload -v /tmp/FooDriver.kext

After a build, run it (as root, obviously).

On Sun, Aug 25, 2002 at 10:39:55AM -0500, chuck remes wrote:
> 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?
_______________________________________________
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.

References: 
 >kext ownership settings (From: chuck remes <email@hidden>)



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.