Koozali.org: home of the SME Server

Not another dumb FTP question?

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Not another dumb FTP question?
« on: July 04, 2008, 07:23:05 PM »
Hi All,

Maybe its the heat but I am jsut not getting this .... here's what I did so far.

1) Create a group 'ftpgroup'
2) Make a user 'guest' and set pw
3) Make 'guest' member of 'ftpgroup'
3) Make a folder 'share' with ;

Group=ftpgroup
Access via ftp=write,read=group
Public access=entire internet, pw req

4) In remote Access

FTP Access=entire internet
FTP pw=from anywhere

5) I login with IE in address bar ;

ftp://share:guestpw@ftpwanip

I can see inside the folder however trying to write files / new folder ;

550 permission denied

Where am I going wrong ?











"If you don't know what you want, you end up with a lot you don't."

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Not another dumb FTP question?
« Reply #1 on: July 04, 2008, 07:55:29 PM »
Hi All,

Maybe its the heat but I am jsut not getting this .... here's what I did so far.

1) Create a group 'ftpgroup'
2) Make a user 'guest' and set pw
3) Make 'guest' member of 'ftpgroup'
3) Make a folder 'share' with ;

Group=ftpgroup
Access via ftp=write,read=group
Public access=entire internet, pw req

4) In remote Access

FTP Access=entire internet
FTP pw=from anywhere

5) I login with IE in address bar ;

ftp://share:guestpw@ftpwanip

I can see inside the folder however trying to write files / new folder ;

550 permission denied

Where am I going wrong ?
Shouldn't it be ftpgroup=write? In your case only the ftp user has write access AFAIK.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: Not another dumb FTP question?
« Reply #2 on: July 04, 2008, 08:07:30 PM »
> Shouldn't it be ftpgroup=write? In your case only the ftp user has write access AFAIK.

Not sure what you mean?

The group 'ftpgroup' has write and read access which is what I want.

The user 'guest' is part of the 'ftpgroup'

In my book that means that guest shoould be able to write and read
the 'share' folder
"If you don't know what you want, you end up with a lot you don't."

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Not another dumb FTP question?
« Reply #3 on: July 04, 2008, 08:10:46 PM »
The group 'ftpgroup' has write and read access which is what I want.

The user 'guest' is part of the 'ftpgroup'
From the data you supplied earlier:
Group=ftpgroup
Access via ftp=write,read=group
Public access=entire internet, pw req
I got the impression that you set the user ftp to have write access, since you say ftp=write. Since you want the guest user who is a member of the ftpgroup, you should set the ftpgroup to have write access instead of ftp.
« Last Edit: July 04, 2008, 08:12:26 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Not another dumb FTP question?
« Reply #4 on: July 04, 2008, 08:26:20 PM »
Here is what it takes to get to an Ibay's files folder that is an ftp share:

ftp://your_User_Name:Your_User_pass@your_domain/../../ibays/Your_Ibay_Name/files/

Quote
Quote From the Manual:

It is possible to upload files using FTP, but to do so you must login to the server with a valid user name, not the i-bay name. That user account must be a member of the group that has been given write permission for the i-bay (configured on the i-bay screen). You would then change to the i-bay directory (using the ftp command "cd ../../ibays/ibayname"). You will now be able to upload files from your FTP client to the appropriate directories.

Here:

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14#Accessing_the_i-bays
« Last Edit: July 04, 2008, 08:30:03 PM by mercyh »

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: Not another dumb FTP question?
« Reply #5 on: July 05, 2008, 08:36:33 AM »
Thanks for the replies.

Cactus, I should have been more specific. In the server manager panel when you create an ibay you choose the group then the next pull down menu there are three options. I chose the following ;

Access via FTP = Write Group Read Group

Mercyh, thanks for that. What I really wanted was the same behaviour as I have seen on many other FTP sites i.e.

You type ftp://ftp.domain.com - you are then asked username / pass and the browser shows you a list from which you can download or upload.

In addition, I needed to make this as simple as possible for clients to download and upload architects drawings rather than emailing them as we seem to have some issues getting mail with attachments.

Thanks for the help thoough!

 
"If you don't know what you want, you end up with a lot you don't."

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Not another dumb FTP question?
« Reply #6 on: July 06, 2008, 09:12:47 PM »
The last time I checked (about a year ago) ALL GROUPS are added to /etc/ftpusers, paradoxically DENYING ftp login to all members of all groups.

Here's some more info: http://wiki.contribs.org/FTP_Access_to_Ibays

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Not another dumb FTP question?
« Reply #7 on: July 06, 2008, 11:41:33 PM »
Does this do what you need? I use it on occasion and it functions well.

http://wiki.contribs.org/Webshare