LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   FTP server (https://www.linuxquestions.org/questions/linux-server-73/ftp-server-896175/)

christshani 08-08-2011 07:50 AM

FTP server
 
Hello there,

I have setup an FTP server, and I would like the FTP users to have access only to one specific folder. In the current setup I have, my FTP users can view files or download from root and other users directories because of their permissions granted to other users which are mostly (r-x) read and execute. I don't want to change the permissions of files in root directory for instance. Please help me

Chris Tshani

deepak_message 08-08-2011 07:54 AM

I assumed, you have configured VSFTPD ftp server, because it has only feature to access home directory of the user.
I would suggest, use the proftpd ftp server, configure and share the folder. and make the user as a non login shell.
Proftpd has the feature of share a central folder and give permission to the many users.


Thanks,

christshani 08-08-2011 09:47 AM

FTP server
 
Thank you deepak_message, I have never used proftpd, and I can not locate that file. I am currently using Ubuntu 11.04. I have configured vsftpd and it works properly, the only problem is that FTP users can view files even download files under root directory such as files under /etc and so on. please help on how proftpd is configured and work

Thanx


All times are GMT -5. The time now is 02:27 AM.