mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: serge@hallyn.com
To: Claude Frantz <claude@pc0312b.rz.unibw-muenchen.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: permission denied while load kernel module using modprobe
Date: Fri, 1 Feb 2008 15:01:47 -0600	[thread overview]
Message-ID: <20080201210147.GA4734@vino.hallyn.com> (raw)
In-Reply-To: <47A2EAAF.90600@pc0312b.rz.unibw-muenchen.de>

Quoting Claude Frantz (claude@pc0312b.rz.unibw-muenchen.de):
> Hello !
>
> As user "root" I'm trying to load the ath_pci module from madwifi using
> the "modprobe" command, which is the recommanded way. But I get the
> following diag in the log:
>
> modprobe: WARNING: Could not open 
> '/lib/modules/2.6.23.8-34.fc7/net/ath_hal.ko': Permission denied modprobe: 
> WARNING: Could not open '/lib/modules/2.6.23.8-34.fc7/net/wlan.ko': 
> Permission denied modprobe: FATAL: Could not open 
> '/lib/modules/2.6.23.8-34.fc7/net/ath_rate_sample.ko': Permission denied 
> kernel: Error loading module "ath_rate_sample"
>
>
> Fedora 7 using kernel 2.6.23.8-34.fc7 as you can see above.
> All components in /lib/modules/2.6.23.8-34.fc7/net/ have the permission 
> -rwxr-xr-x and the directory itself has drwxr-xr-x 
> Which permission is wrong here ?
>
> Thanks a lot !
>
> Claude

Just a few possibilities,

1. could you do 'id -Z' and 'ls -lZ /lib/modules/2.6.23.8-34.fc7/net/'
   to see if selinux is involved?
2. most commonly on my own laptop i've seen this happen due to fs
   corruption...

-serge

      reply	other threads:[~2008-02-01 21:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01  9:47 Claude Frantz
2008-02-01 21:01 ` serge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080201210147.GA4734@vino.hallyn.com \
    --to=serge@hallyn.com \
    --cc=claude@pc0312b.rz.unibw-muenchen.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®