LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Granting Permission (https://www.linuxquestions.org/questions/linux-newbie-8/granting-permission-273508/)

RedRedKrovy 01-03-2005 09:30 PM

Granting Permission
 
I have a game (Wolfenstein Enemy Territory) and I need to be able to download new maps for this game but I don't know how to grant my user account the permission to write files to the directory they need to go in. How do I grant my account permission to write to the directory /usr/local/game/enemy-territory/etmain? I am running Mandrake 10.1 official.

AltF4 01-03-2005 09:36 PM

you can either "chown" the directory to your user, "chgrp" the directory to your group id and allow group write on the directory (chmod g+w /usr/local/game/enemy-territory/etmain) or you can "chmod 777" the directory and allow anything to everyone :-)

for more infos read: man chmod, amdn chown, man chgrp

Linux~Powered 01-03-2005 09:37 PM

Code:

chmod 777  /usr/local/game/enemy-territory/etmain
is the command to grant permissions. look at the man pages for more.

RedRedKrovy 01-03-2005 11:13 PM

Thanks for the help.


All times are GMT -5. The time now is 04:33 PM.