Displaying 1 result from an estimated 1 matches for "htdocsfolder".
2003 Dec 26
1
[Bug 779] Chroot environment for sftp client crazy
...ke a
file transfer or i create a new folder inside user home it become crazy.
EG:
1.- User home /home/user (chroot environment and from sftp client this
folder is / )
2.- I'm inside /home/user/htdocs (for user is /htdocs/)
3.- If i make a folder called "folder", it create /home/user/htdocsfolder,
instead /home/user/htdocs/folder
4.- The same occur if it is a file name.
I have changed session.c file with this lines to chroot environment for aix:
+1228 do_setusercontext(struct passwd *pw)
+1229 {
+1230
+1231 /* CHROOT patch start */
+1232
+1233 char *user_dir;
+1234...