LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP Server Configuration (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-server-configuration-4175490710/)

vijaybhandari 01-09-2014 11:08 AM

FTP Server Configuration
 
Can we configure an FTP server where user can UPLOAD and ACCESS the files but not able to delete it

TB0ne 01-09-2014 11:36 AM

Quote:

Originally Posted by vijaybhandari (Post 5094986)
Can we configure an FTP server where user can UPLOAD and ACCESS the files but not able to delete it

You don't provide any details, such as which FTP package you're using, on what version/distro of Linux, but the short answer is yes. There are options you can set in vsftpd that will only permit a user to run certain commands. Read the man page on vsftpd.conf, and pay attention to the 'cmds_allowed' flag.

vijaybhandari 01-09-2014 04:58 PM

thanks for your valuable information
i had checked man page of vsftd.conf and found the answer

following directive solve my problem
cmds_denied=DELE,RMD


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