Re: Unable to install .kext in admine user
Re: Unable to install .kext in admine user
- Subject: Re: Unable to install .kext in admine user
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 28 Oct 2010 09:27:22 +0200
Le 28 oct. 2010 à 09:07, Iceberg-Dev a écrit :
>
> On Oct 28, 2010, at 7:43 AM, kiran kumar wrote:
>
>> Hi All,
>>
>>
>> I need to load kext in my MacBookPro ,i use these commands to load my kext.
>> i am not in root, but i am using admin user i need to install the kext using admin user.
>> Unable to install can any one give suggestions.
>> sarah-640m:Release chengmerlin$ ls -l moschipUsbEthernet.kext/
>> total 0
>> drwxr-xr-x 5 chengmerlin staff 170 Oct 28 13:14 Contents
>> sarah-640m:Release chengmerlin$ sudo kextload -v moschipUsbEthernet.kext/
>> Password:
>> Requesting load of /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext.
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).
>> sarah-640m:Release chengmerlin$ sudo kextutil -b kextload moschipUsbEthernet.kext/
>> moschipUsbEthernet.kext has problems:
>> Authentication Failures:
>> File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/Info.plist
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/MacOS
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/MacOS/moschipUsbEthernet
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/Resources
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/Resources/English.lproj
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext/Contents/Resources/English.lproj/InfoPlist.strings
>>
>> sarah-640m:Release chengmerlin$ sudo kextload -v moschipUsbEthernet.kext/Password:
>> Requesting load of /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext.
>> /Users/chengmerlin/Downloads/moschipUsbEthernet/build/Release/moschipUsbEthernet.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).
>> sarah-640m:Release chengmerlin$
>
> It's probably documented somewhere that kernel extensions needs to be root:wheel 755/644
Yes, it is:
http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptAnatomy/kext_anatomy.html#//apple_ref/doc/uid/20002364-SW1
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden