LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2003, 08:43 PM   #1
hjles
Member
 
Registered: Jan 2003
Posts: 64

Rep: Reputation: 15
slackware permissions / mplayer


Hey all:

Maybe this should be in the software forum, but maybe it belongs here.

I recently compiled mplayer, and the mpayer plug-in. Everything works great, but only as root.

As a normal user, it fails with errors reporting improper permissions to the framebuffer device.

I think I could fix this by chaning the permissions on the devices it's complaining about, but I'm wondering what the "correct" or most 'secure' way of doing this? Should I try the SUID thing?

Any pointers?

thanks in advance,
-Charlie
 
Old 03-20-2003, 02:45 AM   #2
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
chmod 666 $DEVICE should help.
 
Old 03-20-2003, 08:48 PM   #3
hjles
Member
 
Registered: Jan 2003
Posts: 64

Original Poster
Rep: Reputation: 15
got it

Hey all:

OK - I figured this one out after mucking around for a while.

I compiled and installed mplayer according to the instructions in the documentation. In short, they ask you to make a directory /usr/lib/win32 and put all your codec dlls in there before compiling. OK, but you need to make sure that the files in that directory are readable by the user that wants to run mplayer using them.

So I just changed the permissions on the files in /usr/lib/win32, and everything is cool.

BTW - if you haven't checked out the mplayer plug-in (sourceforge project), it is simply amazing! I can play just any web content I run into from Mozilla using it. Very cool!

-Charlie
 
  


Reply



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
mplayer video output permissions in suse 9.3 polrus Linux - Software 0 11-13-2005 06:20 PM
dual boot permissions on slackware 10.1 salviadud Linux - Newbie 3 03-14-2005 11:37 AM
User permissions - Slackware ch424 Linux - Newbie 8 10-05-2004 01:47 PM
modifying permissions in slackware noxious Slackware 3 09-09-2004 09:45 PM
right permissions for mplayer eNTi Linux - Software 0 08-19-2002 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 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
Open Source Consulting | Domain Registration