Koozali.org: home of the SME Server

access html folder via FTP

Offline MasthaX

  • ***
  • 52
  • +0/-0
access html folder via FTP
« on: May 21, 2007, 10:18:26 PM »
Hello,

I have several friends who host their website at my server. They can upload via FTP to their homedrives and folders but not to the [ibay]/html folder. How is it possible add this directory to their FTP view.

example:

when i open an FTP connection i only get the home folder and some mail folders.
There's no place like 127.0.0.1

Offline psoren

  • *
  • 371
  • +0/-0
Re: access html folder via FTP
« Reply #1 on: May 21, 2007, 11:54:20 PM »
Quote from: "MasthaX"
Hello,

I have several friends who host their website at my server. They can upload via FTP to their homedrives and folders but not to the [ibay]/html folder. How is it possible add this directory to their FTP view.

example:

when i open an FTP connection i only get the home folder and some mail folders.


when you log in with FTP yuo are by default in your home dir:

/home/e-smith/files/users/"you"

If you want to see the ibay you have permission to see you need to be in:

/home/e-smith/files/ibays/"youribay"

So you need to go up in the directory tree in your FTP client. Then you will see cgi-bin, files and html directory from that ibay

Per

Offline MasthaX

  • ***
  • 52
  • +0/-0
access html folder via FTP
« Reply #2 on: May 22, 2007, 08:50:25 AM »
Quote
Thankyou, but is there any possible way to change the default ftp directory. My users (exept for admin) only have writing rights to their own home drive is how do i chmod this so that users only have writing permissions in their ibay.

Example:

User Hank is member of group A. but by default he cant store files in the [ibay]/html file only his own homefolder.


edit: i figured this out allready, now i only want to change the default ftp folder.
There's no place like 127.0.0.1

Offline psoren

  • *
  • 371
  • +0/-0
access html folder via FTP
« Reply #3 on: May 22, 2007, 09:51:00 AM »
Quote from: "MasthaX"


edit: i figured this out allready, now i only want to change the default ftp folder.


You could then make an ibay with the right permissions and then you can make your primary domain point to that ibay. That's done in the server manager under "Domains"

Per

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
access html folder via FTP
« Reply #4 on: May 22, 2007, 03:58:45 PM »
Quote
edit: i figured this out allready, now i only want to change the default ftp folder.

Use smeserver-remoteuseraccess from www.dungog.net to set another ftp path for your users.
"It should just work" if it doesn't report it. Thanks!