Re: Unable to install .kext in admine user
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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/KEXT... -- Jean-Daniel _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas