LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-22-2004, 04:34 PM   #1
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Permissions help


Please help

I want to give teh user "cs1" permission to run
/home/cs1/hlds/./hlds_run -game cstrike +maxplayers 20 +map de_dust

everytime i try to give the user "cs1" permissions to read write and execute in teh /cs1 directory it says i'm not entering the commands right...

please help..

I'm searching and not doing very good...
 
Old 04-22-2004, 06:23 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
its the file's executable permission you want to modify, not the home directory -

"chmod 755 hlds_run"

should work - you may have to be root if root owns the file.

also, are you issuing that entire line as a command? the "./" tells the shell to look in the present directory for the executable - so if you cd to /home/cs1/hlds first, run

./hlds_run

if you are not in that dir, then you'd run

/home/cs1/hlds/hlds_run

but not both at the same time
 
  


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 05:16 AM
Permissions jymmi Linux - Newbie 3 04-15-2005 12:43 AM
permissions ? ben_build#2.1.0 Fedora 4 04-23-2004 01:08 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 01:52 PM


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