LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing permission of a folder (https://www.linuxquestions.org/questions/linux-newbie-8/changing-permission-of-a-folder-455994/)

esc_5p1d0r 06-18-2006 02:08 PM

Changing permission of a folder
 
I am new to linux. I just installed an HLDS server for Counter-Strike. I followed a tutorial on how to do that, and it was set up in root. I want to know how I can unlock the folder so I can access it on my account. How can I do this? I'm running an HD install of KNOPPIX by the way.

Also how can I setup an FTP server to share that folder, so I can access it from my other computer.

Gethyn 06-18-2006 02:17 PM

To change the permissions on the folder, use the command chmod. The internet will tell you more in more detail and accuracy than I can how to use this command.

What's the purpose of the FTP access? If you only want to enable access for yourself, I would advise enabling the ssh daemon, and accessing things via sftp. If you need other people to be able to access it, FTP might be an option.

esc_5p1d0r 06-18-2006 02:20 PM

I wanted to access it from my other (Windows XP) computer. They're connected on the same network by the way.

pixellany 06-18-2006 04:21 PM

switch to root user using "su"
chown -R <yourname>:<groupname> <directoryname> (groupname can be the same as yourname)
The -R causes it th make the same change to all the contents

then, as regular user <yourname> (or as root), you can change permissions using chmod

Remember to make all directories executable, otherwise you can't get into them

For more details:
man chown
man chmod


All times are GMT -5. The time now is 07:47 PM.