Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-11-2012, 01:28 AM   #1
Registered: May 2012
Posts: 86

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


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.

Old 10-11-2012, 05:45 AM   #2
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103

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

r= Read
w = write
x = execute

: 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 05:46 AM. Reason: typo


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 03:59 AM
nero not getting permission to access some of my music files? noncomputergeek Linux - Software 4 11-02-2009 10:21 AM
default access permission when we copy files bluenectar Linux - General 2 03-04-2007 10:09 PM
FTP, newly created files permission georgiozoze Linux - Newbie 2 09-16-2006 09:47 PM
Changing File Permission in a FTP directory to prevent deleting of files shawnbishop Linux - Software 3 01-10-2006 06:41 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 PM.

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