Last edited by Habitual; March 14th, 2012 at 02:52 PM.
Users can NOT write to a directory they have no permission to write to regardless of any sftp software/daemon setting/config.
",...that user's home directory to root..."
glgleason is correct:
orCode:sudo chown root.sftponly /home/whatever sudochmod g+rwx /home/whatever
sudo chmod 770 /home/whatever
output please.Code:ls -ld /home/$user
On a short note, I'd quit messing with permissions if you don't understand them.
I got it figured out finally, just needed to change the user's home directory to /uploads. Where uploads was located at /path/to/chroot/folder/uploads.
Interestingly enough, usermod would not let me do this as it didn't recognize a folder at the path /uploads (because it's not really there). So, I had to edit /etc/passwd directly.
Thanks for the help guys