Disable rm on sftp

Ahmad Zayed az1fantastic at gmail.com
Thu Oct 25 03:17:31 EST 2012


Dear Damien,
Good day

Thanks for your reply

This is what I found, the modified version of sftp-server is working but
the user I tried is configure under chroot environment and I am using the
internal-sftp as force command.

Today I tried to find out where I can modify this so I can clean out do_rm
& do_rmdir functions

Thanks for help
On Oct 24, 2012 7:03 PM, "Damien Miller" <djm at mindrot.org> wrote:

> On Tue, 23 Oct 2012, Ahmad Zayed wrote:
>
> > Am I doing it right? because it's not working and I don't know why.
> Thanks
> > a lot.
>
> Your change looks fine, so I guess you either forgot to install it,
> installed it in the wrong location, or are using internal-sftp and forgot
> to restart sshd
>
> -d
>


More information about the openssh-unix-dev mailing list