#1  
Old 8th January 2007, 14:35
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default (S)FTP and the "ftp-root"

SFTP and FTP works fine at my server and the customer can now login and see his files.

Every user has it's own "ftp-root" which is shown first after logging in.
Is there any way to change this root?

To make clear what i mean:
if the admin of the web is logging in, he sees /var/www/web14. he then can change to (for example) /web (means /var/www/web14/web).
i think it would be fine if the first path he sees is /var/www/web14/web and he then can change "back" to /var/www/web14 if he likes.

is there any chance to make this?
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
Sponsored Links
  #2  
Old 8th January 2007, 16:09
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Not sure if you use ProFTP, but if yes you can use
Code:
<Global>
DefaultRoot ~
</Global>
in your configuration. That will restrict users to their home directory.
Reply With Quote
  #3  
Old 8th January 2007, 16:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,955
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

I think that the initial direcory can only be set in the mail client and not on the mail server. On the mailserver you can only set the chroot directory. You may change it to something like ~/web , but then he is not able to get a directory down anymore.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 8th January 2007, 16:30
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Lightbulb

Errrm, Till, what has a mailserver to do with FTP, which is the subject of the OP?
Reply With Quote
  #5  
Old 8th January 2007, 16:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,955
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Sorry, I seem to be a bit as I wrote the post above Please replace the word "mail" with "FTP" in my post
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 8th January 2007, 17:28
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
 
Talking like this

Quote:
Originally Posted by till
I think that the initial direcory can only be set in the mail client and not on the mail server. On the mailserver you can only set the chroot directory. You may change it to something like ~/web , but then he is not able to get a directory down anymore.
Hhm i think, i like this. WHY SHOULD THE USER HAVE ACCESS TO THE SSL-CERT, TO HIS MAIL-FILES OR SOMETHING SIMILAR. If you are a 1und1 customer you don't have this files too (and i don't know if it is a good idea, that a customer can delete or edit a ssl-cert or something else outside his document_root

i also thought about the client side, but how to tell my customer such a thing. i am happy if they can setup a mail-client (nothing against my customer - that's NOT THEIR BUSINESS! )
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.