LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2014, 11:08 AM   #1
vijaybhandari
LQ Newbie
 
Registered: Jan 2014
Posts: 16

Rep: Reputation: Disabled
Unhappy FTP Server Configuration


Can we configure an FTP server where user can UPLOAD and ACCESS the files but not able to delete it
 
Old 01-09-2014, 11:36 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by vijaybhandari View Post
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.
 
Old 01-09-2014, 04:58 PM   #3
vijaybhandari
LQ Newbie
 
Registered: Jan 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuration of FTP server laxman dhopavkar Linux - General 2 12-28-2011 11:21 AM
ftp server configuration parameter maheshp86 Linux - Server 1 06-26-2010 10:42 AM
FTP Server Configuration on Slackware er.vmishra Linux - Newbie 3 06-01-2009 07:16 AM
First time with apache need configuration help and a ftp server badgerbox76 Linux - Newbie 7 02-19-2006 08:17 AM
FTP Server configuration mauritian Linux - Newbie 10 06-25-2003 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration