LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-11-2012, 12:28 AM   #1
redhat70
Member
 
Registered: May 2012
Posts: 86

Rep: Reputation: Disabled
How to Access permission to FTP files in a Directoty ?


Hi,

I have to give access permission to FTP Files in a Directoty.

What permission I need to set for those files in a Directory ?

Your help is highly appreciable.

Regards,
Aparna.
 
Old 10-11-2012, 04:45 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 718

Rep: Reputation: 102Reputation: 102
Lightbulb

Octal ------ 4 - 2 - 1
Symbolic --r - w - x

r= Read
w = write
x = execute

Order
: User / Group / Others

To use octal add up the values of the permissions you want to set. So 6 would ber read and write and 5 would be read and execute. You need to do this for each of the potentail users ( User (owner ) / Group / Others (everyone else) . So 755 would be read , write & execute permissions for User , read and execute for both group and others.

Take a look at the chmod man page for the syntax and options on how to apply.

With that said to view files in a directory the permission needs to be 5 ( read and execute ) at minnimum. If you want to allow that group to change or delete the files they also need write permissions ( 2).

Hope this helps.

Last edited by jv2112; 10-11-2012 at 04:46 AM. Reason: typo
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to modify ftp files permission? jeesun Linux - Security 5 05-20-2010 02:59 AM
nero not getting permission to access some of my music files? noncomputergeek Linux - Software 4 11-02-2009 09:21 AM
default access permission when we copy files bluenectar Linux - General 2 03-04-2007 09:09 PM
FTP, newly created files permission georgiozoze Linux - Newbie 2 09-16-2006 08:47 PM
Changing File Permission in a FTP directory to prevent deleting of files shawnbishop Linux - Software 3 01-10-2006 05:41 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration