Jump to content

How to access /dev/dvb as a user in mandriva 2006?


edc
 Share

Recommended Posts

I'm not realy sure where to post this question to software or to hardware section, but i decided to post it here. When i'm logged as a user, Kaffeine doesn't see DVB adapter, but when i log as a root everything is ok. How to gain access to /dev/dvb as a user? Please help! :wall:

Edited by edc
Link to comment
Share on other sites

The quick hack answer is to put:

 

chmod 666 /dev/dvb

 

at the end of /etc/rc.d/rc.local.

 

rc.local is an init script that runs at every boot with root privileges. In fact, rc.local is the last of many init scripts to run so generally, nothing else will mess with what you do there and all your device files should have been created when rc.local runs.

Link to comment
Share on other sites

Instead of that, you could have abbreviated with this:

chmod -R 777 /dev/dvb/adapter0

to recursively make all devices read-write-executable.

 

BTW, be careful with making things not executable, if a folder is not executable you can't read the listing inside..

 

Anyway, welcome to the board edc! Enjoy Linux!

Edited by aRTee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...