0

We have a sftp server on our Linux server, I noticed that the ssh users are the same as sftp users, but the ssh users can be given the permissions like in chmod that are read/write/execute, but we want to distinguish write from delete permissions (like in FileZilla FTP server on windows which give you the control of given Write-Read-Delete-Append for files and Create-Delete-List-Sub folders for folders)

So the question is: is is possible to configure (read and delete) only permissions for sftp users?

8
  • use chmod on directories?
    – Orphans
    Commented Sep 6, 2016 at 7:19
  • @Orphans using chmod will allow me just to control read-write there is no distinguishing between write and delete. Commented Sep 7, 2016 at 6:23
  • Well, if you don't have write permission on a file - you can't delete it. Thats SSH for you :)
    – Orphans
    Commented Sep 7, 2016 at 8:53
  • So, no work around or something? Commented Sep 8, 2016 at 5:47
  • I am afraid there is none yet. Because SFTP and SSH is the same. Just different name
    – Orphans
    Commented Sep 8, 2016 at 7:38

1 Answer 1

1

SFTP is actually the same as SSH. Both use SSH as their protocoll.

Basically: SFTP is SSH - but for filetransfers and simplified.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .