LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions help (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-help-173435/)

reddog64 04-22-2004 03:34 PM

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...

Genesee 04-22-2004 05:23 PM

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


All times are GMT -5. The time now is 10:36 PM.