I'm essentially trying to disable the mv
command for FTP users on my CentOS server.
I was thinking of editing their .bash_profile
file and using this:
alias mv=""
But that feels system breaking. Feels like there may be an actual, secure and better way to disable mv for FTP users.
All I want to allow for FTP users is PUT
, GET
and DELETE
.
How do I restrict mv
for FTP users properly?