Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: lars2670 on May 09, 2007, 02:13:48 PM

Title: FTP Access to a private directory
Post by: lars2670 on May 09, 2007, 02:13:48 PM
Hallo

My Sme server 7.0 hosting 4 web sites, but this websites having a ftp account eg.
first domain.
my1.com has a site and ftp to my1.com directory sow this user access to his private directory. I can´t found a metode to this.

can your help me?

Bedst Regards

Lars
Title: FTP Access to a private directory
Post by: Franco on May 09, 2007, 04:15:31 PM
Install this contrib from Dungog ang set the path for each of your users:
http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-remoteuseraccess-1.2-12.noarch.rpm
Title: FTP Access to a private directory
Post by: lars2670 on May 10, 2007, 10:19:33 AM
Hi, thanks byt i can´t install this RPM packages

You can see this information

# rpm -Uvh http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS                                     .dungog/smeserver-remoteuseraccess-1.2-12.noarch.rpm
Retrieving http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserv                                     er-remoteuseraccess-1.2-12.noarch.rpm
error: Failed dependencies:
        e-smith-proftpd >= 1.12.0-6 is needed by smeserver-remoteuseraccess-1.2-                                     12.noarch
        perl-CGI-FormMagick >= 0.92-08 is needed by smeserver-remoteuseraccess-1                                     .2-12.noarch

Bedst regards

Lars Lassen
Title: FTP Access to a private directory
Post by: skydivers on May 10, 2007, 11:21:42 AM
Quote from: "lars2670"
Hi, thanks byt i can´t install this RPM packages

You can see this information

# rpm -Uvh http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS                                     .dungog/smeserver-remoteuseraccess-1.2-12.noarch.rpm
Retrieving http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserv                                     er-remoteuseraccess-1.2-12.noarch.rpm
error: Failed dependencies:
        e-smith-proftpd >= 1.12.0-6 is needed by smeserver-remoteuseraccess-1.2-                                     12.noarch
        perl-CGI-FormMagick >= 0.92-08 is needed by smeserver-remoteuseraccess-1                                     .2-12.noarch

Bedst regards

Lars Lassen


The best you can do is add the dungog repository to your repositories as mentioned on the dungog website and then use yum instead of rpm. yum installs the dependencies as well... (not for rpm)
Title: FTP Access to a private directory
Post by: lars2670 on May 10, 2007, 01:33:35 PM
Yes,,, this software is now install on my server, But this user i geving rights to a access his private dir can going back a see all my dir in my FTP dir can i geving this user rigtht to allow use his private and no going back ?

Sorry, idon´t soe good to englicsh.

Bedst regards.

Lars
Title: FTP Access to a private directory
Post by: skydivers on May 10, 2007, 03:12:10 PM
Quote from: "lars2670"
Yes,,, this software is now install on my server, But this user i geving rights to a access his private dir can going back a see all my dir in my FTP dir can i geving this user rigtht to allow use his private and no going back ?

Sorry, idon´t soe good to englicsh.

Bedst regards.

Lars


I think you have to use the chroot option in the panel, but not sure about that because I don't use it...
Title: FTP Access to a private directory
Post by: lars2670 on May 10, 2007, 04:10:27 PM
Okay. but can i soe create a FTP user that has right use to has dir, eg. user my1.dk access to my ftp server and  has see yous private dir.

and user my1.dk can´t going back and see nother dir.

Can you help me whit my problems?

Thanks.

/Lars
Title: FTP Access to a private directory
Post by: skydivers on May 10, 2007, 05:52:12 PM
As i'm not using this I can't help you any further but maybe this topic can:

http://forums.contribs.org/index.php?topic=36286.0
Title: FTP Access to a private directory
Post by: Franco on May 10, 2007, 11:19:04 PM
This contrib works fine for me :shock:
Title: FTP Access to a private directory
Post by: bpivk on May 11, 2007, 12:17:46 AM
Quote from: "stuntshell"
This contrib works fine for me :shock:

Because you used yum install command which resolved and download the missing dependencys from SME repository (as it should).
That's why users should use yum not rpm which is outdated. That would install meserver-remoteuseraccess-1.2-12.noarch.rpm without any dependancy problems.
Title: FTP Access to a private directory
Post by: Franco on May 11, 2007, 12:26:32 AM
I'm not talking about the installation, I'm talking about the functionality that the poster says it's not working!
Title: FTP Access to a private directory
Post by: bpivk on May 11, 2007, 12:36:18 PM
Well i don't quite understand him but i think that it works for him the only problem is that the user can get to the other ftp folders which bothers him.
Title: FTP Access to a private directory
Post by: Deamon on May 15, 2007, 08:53:22 PM
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/RPMS/e-smith-proftpd-1.12.0-6.el4.sme.noarch.rpm

http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-remoteuseraccess-1.2-12.noarch.rpm

this works for me