LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to Access permission to FTP files in a Directoty ? (https://www.linuxquestions.org/questions/linux-general-1/how-to-access-permission-to-ftp-files-in-a-directoty-4175431593/)

redhat70 10-11-2012 12:28 AM

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.

jv2112 10-11-2012 04:45 AM

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.


All times are GMT -5. The time now is 09:17 AM.