SOLVED.

--------------------------------------------------------------
The solution was:

# chmod a+w /home/user/dev/null

--------------------------------------------------------------
And how I found it:

This line was in the strace output:

2438  execve("/usr/lib/rssh/rssh_chroot_helper", 
["/usr/lib/rssh/rssh_chroot_helper"..., "2", "/usr/lib/openssh/sftp-server"], 
[/* 9 vars */]) = 0

So I tried it:

u...@debian:~$ /usr/lib/rssh/rssh_chroot_helper 2 "/usr/lib/openssh/sftp-server"
Couldn't open /dev/null: Permission deniedu...@debian:~$

debian:/home/user/dev# ls -la
total 8
drwxr-xr-x 2 root root 4096 2009-03-11 21:36 .
drwxr-xr-x 6 user user 4096 2009-03-12 16:35 ..
srw-r--r-- 1 root root    0 2009-03-11 21:36 log
crw-r--r-- 1 root root 1, 3 2009-03-11 21:36 null

Thanks for your help, Russ.

-- 
M

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to