LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2005, 02:28 AM   #1
potaKaKa
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
RH9: Permission denied, why?


my mainboard is intel 865PERL

my RH version is 9.0

xfree86 version is 4.3.0 and kernel version is 2.4.20-8

alsa driver is intel8x0-alsa-1.0.1.sh.gz download from the intel site..

log in as root user (text mode)...

when i run "[root@KaKa Intel]# ./intel8x0-alsa-1.0.1.sh", it told me "bash: ./intel8x0-alsa-1.0.1.sh: Permission denied",

why!!!???

is there someone can help me?...thx...

Last edited by potaKaKa; 03-11-2005 at 03:45 AM.
 
Old 03-11-2005, 03:42 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,521

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
alsamixer is part of the alsa-utlis, so you have to install this package to use alsamixer, alsactl etc.
As for your problem I think it's better to install the alsa driver. You can find detailed instructions here

Good luck
 
Old 03-11-2005, 03:54 AM   #3
potaKaKa
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bathory
alsamixer is part of the alsa-utlis, so you have to install this package to use alsamixer, alsactl etc.
As for your problem I think it's better to install the alsa driver. You can find detailed instructions here

Good luck
thx a lot, well i have changed my question. coz i think why i failed is i used the command "sh" instead of "./" to run "intel8x0-alsa-1.0.1.sh". but the problem is:

[root@KaKa Intel]# ./intel8x0-alsa-1.0.1.sh
bash: ./intel8x0-alsa-1.0.1.sh: Permission denied


why!!??
 
Old 03-11-2005, 04:02 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
In order to run a file as an executable, the "x'" (of "rwx" fame) must be set. To illustrate, if you
Code:
ls -l somefile.sh
and you see something like:

rw-r--r-- <blah blah blah> <date> <size> somefile.sh

the regardless of whether you are root or not, you will get a "Permission denied" error because the file is not executable. To make it executable, just set the x bit high. To illustrate, assuming that you're root and you want to retain the other file permissions, you could run
Code:
chmod 744 somefile.sh
The result would then be:

rwxr--r-- <blah blah blah> <date> <size> somefile.sh

Note the executable bit has been set high. This article gives a decent overview of file permissions. Good luck with it -- J.W.
 
Old 03-11-2005, 04:04 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,521

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
That's because the script is not executable
Code:
chmod +x intel8x0-alsa-1.0.1.sh
and you're set.
Note that "./intel8x0-alsa-1.0.1.sh" and "sh intel8x0-alsa-1.0.1.sh" it's the same.
 
Old 03-11-2005, 04:14 AM   #6
potaKaKa
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
YEAH!!!!

it works, thx a lot J.W.

music..!! ^_^
 
Old 03-11-2005, 04:50 AM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
Sweet! Glad it worked -- J.W.

(Likewise thanks bathory, both the posts give the same advice)
 
Old 03-11-2005, 05:09 AM   #8
potaKaKa
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bathory
Note that "./intel8x0-alsa-1.0.1.sh" and "sh intel8x0-alsa-1.0.1.sh" it's the same. [/B]
thx, bathory!..

but i think there is some different between "./intel8x0-alsa-1.0.1.sh" and "sh intel8x0-alsa-1.0.1.sh" .

coz before i used the "chmod" command to change the *.sh file level, i ran "./intel8x0-alsa-1.0.1.sh" the "Permision denied" came out, then i ran "sh intel8x0-alsa-1.0.1.sh" instead, it worked, all the things seemed OK but theres no sound after the installtion finished. it failed... there is no "alsamixer" or something was installed.

is that means there is some different between them? i will check it out later...^.^
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AC97 audio driver bit7 Linux - Hardware 10 12-19-2004 07:27 PM
AC97 Audio Driver for Slackware FDomingos Linux - Hardware 2 12-18-2004 07:56 PM
Sound driver but not ALSA for AC97 caovankhanhvn Slackware 6 08-15-2004 05:11 AM
Acer TM 432 MODEM AC97 Agere System.. not work RH9 m@se Linux - Laptop and Netbook 4 11-01-2003 03:28 PM
VIA 82C686 AC97 sound in RH9 problems zapp Linux - Hardware 5 09-03-2003 04:43 PM


All times are GMT -5. The time now is 10:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration