Koozali.org: home of the SME Server

Ftp questions

Derek Greenfield

Ftp questions
« on: October 24, 2000, 11:27:02 AM »
How can I setup an ftp account that accesses a dir called /pub with an dir under say called /upload where outside users can login under the same account name/password and only be able to have read access for any dir under /pub, but with upload privledges in the /upload dir? Anyone have any clue? I'm using the newest release (4.0). any help would be greatly apprciated!

Thanks,
Derek

Scott Smith

RE: Ftp questions
« Reply #1 on: October 25, 2000, 12:03:32 AM »
Do you mean all users login with the same username/password? In which case it seems to me it would be a permissions issue in one ibay.

Or do you mean users login with individual username/password, but have access to a common set of directories? It seems that symlinks might be a way to resolve the issue in that case -- I haven't tried that, mind you, just speculating.

Derek Greenfield

RE: Ftp questions
« Reply #2 on: October 25, 2000, 12:49:37 AM »
Scott Smith wrote:

> Do you mean all users login with the same username/password? In
> which case it seems to me it would be a permissions issue in
> one ibay.
>
> Or do you mean users login with individual username/password,
> but have access to a common set of directories? It seems that
> symlinks might be a way to resolve the issue in that case -- I
> haven't tried that, mind you, just speculating.

Yeah .. the first option .. one common login. I have it working with an ibay, but my clients can go all over the place and I want them to able to access only 1 specified directory and the dir's under that one with only upload permission in the upload dir .. directory structure as such :

login: client <--- login name
password: <--- whatever password I decide to use for them

/home <--- the ftp root dir
file1 <--- example downloadable file
file2 <--- ""
etc  <--- ""
/home/upload <--- the only dir they can upload to

Give you a better idea of what I mean?

Thanks..
Derek