Recursive deleting not working as expected

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
Miguelinf
500 Command not understood
Posts: 1
Joined: 2018-05-18 11:26
First name: Miguel
Last name: Cruz

Recursive deleting not working as expected

#1 Post by Miguelinf » 2018-05-18 11:36

Hello, I recently mounted an SFTP server with jailed users using chroot.

My folders structure are: x ( y ( a ( IN
OUT
b ( IN
OUT

The users (a, b) of the FTP only have permissions on the IN OUT folders as owners, the rest are owned by root, so they cant delete IN or OUT but they can do it on the recursive folders (/IN/x)
My problem is that if they wrongly tries to delete IN, the server responses an error of insufficient permits, but keeps deleting everything in the folder.

Is there a way to prevent the filezilla client doing that, so I want to make the delete command stop if you dont have permission to delete the folder ure trying to.


Thanks and excuse my bad english. Greetings from Spain :)

User avatar
botg
Site Admin
Posts: 35565
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Recursive deleting not working as expected

#2 Post by botg » 2018-05-18 13:08

No.

FileZilla always tries its best to delete what it can delete if told so by the user.

Post Reply