Feature request: allow chrooted directory writable by others

ramon.garcia.f at gmail.com ramon.garcia.f at gmail.com
Wed Feb 5 02:59:11 AEDT 2020


The problem is backward compatibility with applications that expected a given layout. And the cost of changing a good number of applications.

Since we use internal-sftp, we don't care about dev, lib, .... 

Rsshd looks unmaintained for a long time (last version 2012)El 15 jul. 2019 12:43, David Newall <openssh at davidnewall.com> escribió:
>
> On 15/7/19 7:54 pm, Ramón García wrote: 
> > I am trying to setup a file server using the SFTP protocol with OpenSSH. 
> > 
> > I am in trouble because sshd refuses to chroot to a directory that is 
> > writable by users other than the owner. 
>
> I doubt that you need the root to be writeable.  Put your files inside a 
> globally writeable sub-directory.  This allows you to have a dev, bin, 
> lib, and whatever, within your chroot, without leaving yourself open 
> someone tearing you a new one. 
>
> If somebody says, "but I need to write to root", your go-to answer is 
> "no, you don't; and get off my lawn." 
>
> Also, look at rssh. 
>


More information about the openssh-unix-dev mailing list