LinuxQuestions.org
Register a domain and help support LQ
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 06-18-2006, 03:08 PM   #1
esc_5p1d0r
Newbie
 
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, 03:17 PM   #2
Gethyn
Member
 
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, 03:20 PM   #3
esc_5p1d0r
Newbie
 
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, 05:21 PM   #4
pixellany
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
 
  


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


All times are GMT -5. The time now is 12:08 PM.

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