Additional FTP Account permission

Operating System & Version
CENTOS 7.7
cPanel & WHM Version
v84.0.21

papiandy

Member
Apr 7, 2008
21
2
53
Hi

I created an Additional FTP Account, so this user can upload some files to an existing folder of my website, but I don't want to this user can delete files that already exist in the folder.

Is there any way I can do this?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
Hello,

You can make it so no user can delete files over FTP if you're using Pure-FTPd by uncommenting the line as follows:

Code:
# Allow users to resume/upload files, but *NOT* to delete them.

# KeepAllFiles                 yes:
The following documentation gives instructions on how to edit the Pure-FTP configuration: How to Edit FTP Server Configuration from the Command Line | cPanel & WHM Documentation

You'd just replace ForcePassiveIP used in the example with KeepAllFiles