Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th November 2009, 23:01
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default [solved] FTP user with folder limit

Hello.

I've just installed ISP config 3 and i have a little problem.

I have the domaine mempa.org.
I've done a subdomain metin2sg-fr.mempa.org with L redirection type.
subdomain is in /var/www/clients/client4/web4/web/metin2sg

I would like to have a ftp account that can just acces to the folder where is the subdomain.
If i create the ftp account from the normal user, i can't specify folder but i saw that from admin account, i can specify in the options :
Directory : /var/www/clients/client4/web4
That i have replaced by :
Directory : /var/www/clients/client4/web4/metin2sg

All seems ok but when i try to connect to the ftp with this account, this is not possible. All ftp clients say to me : deconnected / not possible to connect

Code:
Etat :	Connexion à ftp.mempa.org ...
Etat :	Connecté à ftp.mempa.org. Attente du message d'accueil...
Réponse :	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Réponse :	220-You are user number 2 of 50 allowed.
Réponse :	220-Local time is now 21:55. Server port: 21.
Réponse :	220-This is a private system - No anonymous login
Réponse :	220 You will be disconnected after 15 minutes of inactivity.
Commande :	USER mempametin2sg
Réponse :	331 User mempametin2sg OK. Password required
Commande :	PASS ********
Erreur :	Déconnecté du serveur
Erreur :	Impossible de se connecter !
So what could i do to fix this ?
And why only admin account can change the directory directive in the option of the ftp account ?

Thanks. (sorry for my bad english)

Last edited by MaTheRyS; 7th November 2009 at 01:50.
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2009, 13:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,717
Thanks: 840
Thanked 5,593 Times in 4,404 Posts
Default

And you were able to connect with this FTP account before you changed the path manually?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th November 2009, 15:28
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes.

And if i get back the directory option to the defaut value :
/var/www/clients/client4/web4
It's working too.
Reply With Quote
  #4  
Old 6th November 2009, 17:16
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default

compare the permissions of the two different folders
Reply With Quote
  #5  
Old 6th November 2009, 19:23
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/var/www/clients/client4/web4 -> 0755 owner root

/var/www/clients/client4/web4/metin2sg -> 0755 owner web4
Reply With Quote
  #6  
Old 6th November 2009, 20:40
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default

Quote:
/var/www/clients/client4/web4/metin2sg -> 0755 owner web4
Quote:
subdomain is in /var/www/clients/client4/web4/web/metin2sg
you forgot the .../web/... or added it somewhere

Last edited by giftsnake; 7th November 2009 at 00:49. Reason: tediousness
Reply With Quote
  #7  
Old 7th November 2009, 01:50
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Oops, sorry, yes it was my fault !

I put /var/www/clients/client4/web4/metin2sg
instead of /var/www/clients/client4/web4/web/metin2sg

Now it's working much better

Thanks a lot

Last edited by MaTheRyS; 7th November 2009 at 01:52.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking attack (ubuntu 7.04 server + local root exploit on kernel) smoko General 4 15th September 2013 06:05
FTP cannot open remote folder!?! andysm849 Server Operation 23 17th October 2008 00:34
Users can't acces their folders with Web-FTP kvdd Installation/Configuration 9 1st November 2007 20:52
log files cruz Technical 3 15th May 2007 15:35
User web ftp etc... Hagforce Feature Requests 0 20th March 2006 23:25


All times are GMT +2. The time now is 04:50.


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