-   Linux - General (
-   -   How to Access permission to FTP files in a Directoty ? (

redhat70 10-11-2012 01:28 AM

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.


jv2112 10-11-2012 05:45 AM

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.

All times are GMT -5. The time now is 02:19 PM.