LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:08 PM   #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, 12:36 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,329

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:21 PM
ftp server configuration parameter maheshp86 Linux - Server 1 06-26-2010 11:42 AM
FTP Server Configuration on Slackware er.vmishra Linux - Newbie 3 06-01-2009 08:16 AM
First time with apache need configuration help and a ftp server badgerbox76 Linux - Newbie 7 02-19-2006 09:17 AM
FTP Server configuration mauritian Linux - Newbie 10 06-26-2003 12:57 AM

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

All times are GMT -5. The time now is 06:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration