SFTP chroot: Writable root

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



(this is the third try. In the previous mails the body was empty)


Hi,

I set up a chroot sftp server by following this guide:

  https://wiki.archlinux.org/index.php/SFTP_chroot


Things work well, with one exception:


The root directory is not writable.

The above docs give a hint how to work around this.

But this is just a work-around.

In my context I need a writable (ch)root directory.

Is there a way to get both?

 - chroot

 - writable root



Currently it does not work

===> sftp mysftpuser@remote-host: <<< $'put foo.txt'
Connected to remote-host.
Changing to: /
sftp> put foo.txt
Uploading foo.txt to /foo.txt
remote open("/foo.txt"): Permission denied


Here the permissions:

remote-host:~ # ls -ld /home/mysftp/
drwxr-xr-x 2 root root 4096 Dez 20 14:17 /home/mysftp/


Regards,

  Thomas





--
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux