Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-03-2007, 05:55 PM   #1
LQ Newbie
Registered: Jul 2007
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
Apache user won't access audio device

Hello, people!
I have a question!

I've been trying to give the apache user account access to /dev/dsp, but even if I run chmod 777 /dev/dsp apache still can not access the device.

Is the wwwrun or apache account limited in some other way that it can not access the audio device?
If I modify apache to use another username it works, but I don't know why it doesn't work with "apache".
Old 08-03-2007, 06:02 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
SELinux will prevent that access as a security issue. Check for an audit message in /var/log/messages or /var/log/audit/audit.log.
Old 08-07-2007, 02:10 PM   #3
LQ Newbie
Registered: Jul 2007
Distribution: Fedora Core 5
Posts: 2

Original Poster
Rep: Reputation: 0
Red face Thanks

Thanks for your help. I've decided to disable SELinux entirely.


apache, audio

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
Using VirtualDocumentRoot with Apache to dynamically access user dirs dcostinett Linux - Server 0 09-08-2006 11:40 AM
LXer: Device Profile: Trinity Audio Group portable digital audio workstation LXer Syndicated Linux News 0 07-07-2006 02:03 AM
Apache access forbidden to user dirs. Spudley SUSE / openSUSE 1 12-29-2005 02:53 AM
No regular user access USB device from RHEL 4.0 WS dita Red Hat 2 12-18-2005 03:59 AM
access an audio cd image as a block device carotinho Linux - Software 1 02-17-2005 07:09 AM

All times are GMT -5. The time now is 04:29 PM.

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