Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-18-2006, 02:08 PM   #1
Registered: Jun 2006
Posts: 20

Rep: Reputation: 0
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.
Old 06-18-2006, 02:17 PM   #2
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
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.
Old 06-18-2006, 02:20 PM   #3
Registered: Jun 2006
Posts: 20

Original Poster
Rep: Reputation: 0
I wanted to access it from my other (Windows XP) computer. They're connected on the same network by the way.
Old 06-18-2006, 04:21 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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


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
Permission - Folder vs. File XaViaR Linux - General 23 01-28-2006 07:54 PM
how create a folder/permission rusmi Linux - Newbie 7 02-11-2005 10:04 AM
Permission to write to folder Garoth Linux - Software 1 10-09-2004 11:41 PM
adding a stuff to a folder i don't have permission to SurfCHimp Linux - Newbie 3 09-11-2004 11:58 AM
Folder permission javamdk Slackware 9 07-07-2004 11:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration