Koozali.org: home of the SME Server

Basic Q about FTP write access to iBays

LeeKimber

Basic Q about FTP write access to iBays
« on: July 21, 2004, 09:00:38 PM »
Just began playing with smeserver a couple of nights back. I'm extremeley impressed with it so far and gleeful at the collaboration and cms possibilities it has built in and through rpms/howtos provided by users.

I'm hitting a problem that I think is due to me not understanding a concept about i-bays. Wonder if someone could point out where I'm going wrong?

In testing i-bays, I created one that allows group write access and added a user to that group.

Now when the user ftp's into the server, what do they have to do to put a file into the i-bay?

If the user ftps in using their own user ID, ftp takes them to home directory, not the i-bay.

If the user logs in using the i-bay's credentials, they get taken to the i-bay directory but can't "put" a document. They see a permissions denied message.

So how does a member of a group that "owns" an i-bay use ftp to put a document into the i-bay?

Thanks

Lee

Mumm-Ra

FTP in Ibays
« Reply #1 on: July 21, 2004, 10:19:21 PM »
1 - Login as user - opens in users directory
2 - change directory with following cd ../../ibays/<ibayname>/files
If the user has write permission on this folder then they should be able to save.
You can save the change directory command in any FTP client (or should be able to, I can in CuteFTP) by removing the cd at the start of the command.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Basic Q about FTP write access to iBays
« Reply #2 on: July 22, 2004, 12:23:02 AM »
check dungog-proftpd-chroot-0.1-5 chroots at:
http://www.dungog.net/sme/files/index.php

When users FTP into the sme server they are allowed to view ibays, primary and some system information. By chrooting the user you restrict the user to below that directory.

It works fine for FTP.
chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

LeeKimber

Basic Q about FTP write access to iBays
« Reply #3 on: July 22, 2004, 05:30:25 AM »
Thanks for those answers folks (and for quick answers too).

To save members of groups with write access to i-bays the hassle associated with having to cd from their home directory to the i-bay directory, I will try creating a symbolic link in /etc/skel to the ibays directory.

Thanks again !

Offline albatroz

  • *****
  • 159
  • +0/-0
ftp only user
« Reply #4 on: August 11, 2004, 07:41:20 PM »
I wonder if I can create FTP only users
with write/read access to ibays in SME 6.0

Or maybe I can create a user in SME and disable
its email features.

Offline albatroz

  • *****
  • 159
  • +0/-0
Basic Q about FTP write access to iBays
« Reply #5 on: August 12, 2004, 07:29:08 PM »
So this silence means that it is not possible to
allow FTP write access to the login user of an i-bay?