login about faq

I want to setup D:/ftp_user as the default home folder when I login, and this should be the root directory as well "/". The user can only access D:/ftp_user and its sub-folders, nothing else.

Below is an extract of my configurations
attribute name="virtual-folder" value="ftp_user=D:\ftp_user"
attribute name="home" value="D:/ftp_user/"

With this setup, when I login I will start in D:\ftp_user which is correct. However it is not the root directory.

root> sftp ftp_user@xxx.xxx.xxx.xxx
Connecting to xxx.xxx.xxx.xxx...
Password Authentication:
ftp_user's password:
sftp> pwd
Remote working directory: /ftp_user
sftp>

How can I make D:\ftp_user as my root directory as well as my default home directory?

asked Nov 09 '12 at 06:58

cwseetoh's gravatar image

cwseetoh
1111


No solutions to this? Somebody help pls.

link

answered Nov 16 '12 at 08:55

cwseetoh's gravatar image

cwseetoh
1111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5
×4

Asked: Nov 09 '12 at 06:58

Seen: 2,914 times

Last updated: Nov 16 '12 at 08:55

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.