LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-23-2004, 06:31 PM   #1
nyhm
LQ Newbie
 
Registered: Feb 2004
Location: south texas
Distribution: slackware
Posts: 26

Rep: Reputation: 15
Permission Probelms......Please read.


Im still very new to linux (slackware 9.1) and have been using it for about almost a week now.

One of the main things I do on my machine is play games. My big problem is I can't play these games with out having to temporarily log on as root. If I dont do this it causes a lot of problems with my games such as not saving my keyboard layout, not saving my games, and the most recent: not being able to get any sound because of permission denies to /dev/dsp.

Is there anyway I can work around these permission problems? Or am I just going to have to SU everytime I want to play a game?

Thanks in advance!
 
Old 02-23-2004, 06:39 PM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
Alright, first you need to add yourself to the games group. If you're using Dropline using users-admin makes this easy. Otherwise, search around here for CLI commands to do that. Next, you'll need to change the games' folders to group 'games' and give that group write access.
Code:
chgrp games /usr/games/ut2003/ -R
chmod g+w /usr/games/ut2003/ -R
The second command you might want to do to only the files you need to in the games' folders. I put the above down for the sake of length.
Next, you'll need to change the permissions of /dev/dsp, which is most likely a link to /dev/dsp0.
Code:
chmod 666 /dev/dsp0
Now you should be able to save games and configurations, and get sound. If only all games on Linux just stored configurations in $HOME. sigh
 
Old 02-23-2004, 07:29 PM   #3
nyhm
LQ Newbie
 
Registered: Feb 2004
Location: south texas
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you very much, I think this will do the trick
 
  


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
Cannot read Windows partition. Permission problems Micro420 Linux - General 5 10-03-2005 01:46 AM
giving permission to read windows partitions jaakkop Slackware 2 01-13-2005 08:51 AM
Read and Write permission jing Linux - Newbie 3 07-13-2004 10:33 PM
How do I give users read but not delete permission suse7.1user Linux - General 2 09-03-2003 05:13 PM
Read/write permission skopje909 Linux - General 4 11-08-2001 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 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