#1  
Old 3rd January 2013, 02:24
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default Change ftp location

Hey guys,
I come with a new "problem"/question, to you.. i've been starting to look for a way to change the default location of the ftp folder of each user. Now my problem is, if i want for a user to just give him access to a ftp on a specific mounted storage, how would i do that, so that the rights would be automatically set and no bash commands to be involved ???

by default you can set a ftp to point to a folder created inside a client, that by default will point to the webpage of the client, or a folder created earlier...
so the path would be /var/www/clients/client1/web1/ftp for example.
but i want to put it on a separate hdd's for example that i've added in raid and mounted to /mnt/sdd/ and to point it to the folder ftp . In where should i edit the php to change the folder location and user asignment.
Thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2013, 09:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

Quote:
Now my problem is, if i want for a user to just give him access to a ftp on a specific mounted storage, how would i do that, so that the rights would be automatically set and no bash commands to be involved ???
The path of the ftp user can be set on the options tab of the ftp user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd January 2013, 14:01
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
The path of the ftp user can be set on the options tab of the ftp user.
true that but when i try to upload smth it says permission denied... err 553
new ftp location is /mnt/dev/sdd/ftp/
Reply With Quote
  #4  
Old 3rd January 2013, 14:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

Does the folder belong to the user and group of the website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd January 2013, 14:24
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

that's the problem i've mentioned, how to do so, without interfering from the command line
Reply With Quote
  #6  
Old 3rd January 2013, 14:34
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

Quote:
that's the problem i've mentioned, how to do so, without interfering from the command line
If you want to use a folder, then it has to exist and belong to the right user. You can e.g. write a plugin for ispconfig that creates the folder and assign it to the ftp user add event.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
pureftp-d change default ftp port tokamak Installation/Configuration 6 14th August 2014 13:04
FTP very ODD problem (imho) Jivedue Server Operation 7 20th September 2006 00:43
ProFTP & SuSe 10 latcarf Server Operation 26 28th March 2006 04:23
How to change location? Brenton Installation/Configuration 1 16th March 2006 12:30
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03


All times are GMT +2. The time now is 15:05.


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