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 12:08 PM

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 12:36 PM

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 05: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 12:17 AM.