Koozali.org: home of the SME Server

CHMOD problems

BULLET

CHMOD problems
« on: December 29, 2003, 12:04:53 AM »
I am having problems CHMOD ing files on my esmith server form my FTP program.... any idea why?


I get an error in WSFTP :   550 ndisplay.pl:Permission denied
                                                 !CHMOD FAILE.  It may not be supported on remote site

Nick Ramsay

Re: CHMOD problems
« Reply #1 on: December 29, 2003, 12:56:59 PM »
First off, you should give careful consideration at to the advisability of allowing CHMOD in FTP sessions - it's a potential security problem.  What's wrong with using SSH to do it?

That said, if you're determined to do this, you'll need to create a custom template fragment to override the default in /etc/e-smith/templates/etc/proftpd.conf/05DisallowChmod

It's set to false, so you need to modify the custom fragment to true, expand the template & restart proftpd

Martin (http://sudemo.in

Re: CHMOD problems
« Reply #2 on: December 30, 2003, 11:49:14 AM »
You can use a nice small program from your Win PC to connect to your Server. This program allow you to change the rights from users, files etc. and you can also move, copy, delete and edit files. This program can handle SSH and works without any problem for me.

You can find this program at http://winscp.sourceforge.net/eng/ and it is free to use.

Hope this will help you.

Martin

---------------------------------
http://sudemo.info
e-smith (SME) Server FORUM
Der einfache Kommunikationsserver

Arne

Re: CHMOD problems
« Reply #3 on: December 30, 2003, 01:05:46 PM »
Very interersting. I downloaded it and tried to connect to my e-smith 5.6. But I could not get connection. The program just said that some server or function ver missing at the server. Do you use it agaisnt an e-smith ? Do you have installed some aditional server programs at the e-smith server ?

Martin (http://sudemo.in

Re: CHMOD problems
« Reply #4 on: December 30, 2003, 03:25:14 PM »
Thats not a problem with the program !
It will work with all kinds of the server software versions.

Please check your adjustments. Try this parameter in the program:

Hostname: your server IP adress
Port: 22
User name: root
Password: your root password
Protocol: SCP

In SSH - Authentication
Set: Attempt "keyboard-interative" authentication (SSH2)

This is what you need for this program.

Then check in your server-manager if you allow remote access to your server.
The program will work, if you have all this adjusted.


Martin

---------------------------------
http://sudemo.info
e-smith (SME) Server FORUM
Der einfache Kommunikationsserver

Jim

Re: CHMOD problems
« Reply #5 on: December 31, 2003, 09:12:47 AM »
Hi,

The other prgram you can try to use is putty.exe which you can find via google. I use it and have never had any problems in connecting to the server from my windows machines.

Martin (http://sudemo.in

Re: CHMOD problems
« Reply #6 on: December 31, 2003, 10:56:25 AM »
Hello Jim,

this program is based on putty but with more functions.

Martin

---------------------------------
http://sudemo.info
e-smith (SME) Server FORUM
Der einfache Kommunikationsserver

Arne

Re: CHMOD problems
« Reply #7 on: December 31, 2003, 12:16:24 PM »
Thanks for the info. I came in now without a problem. (Think I used admin in sted of root as logon at the first try.)

This seems to be a very, very smart and usable client program ! If you can transfer files to and from without using ftp (!!!??) and by only using port 22 and a conection that has encryption it is a great thing..

... By the way, I am just testing as I am writing ..I have installed the user shell logon contrib .. it apears that this program also able to use one of the other user acounts that has shell access, and that the user only get limited access to his home area while using the  WinSCP program.

Seems to be working the same way related to real and practical life like the dungog ftp mod, when the winscp is used togeter with the user shell contrib.

Seems to be only one big difference even though I havent tested much yet. Much simpler and much more safer than a traditional ftp connection, at least for small datatransfer. (Will guess it will apear to be a bit slower than the ftp when it comes to more heavy downloads.)

Thanks a lot !!

Arne.

Arne

Re: CHMOD problems
« Reply #8 on: December 31, 2003, 12:40:46 PM »
I was wrong about the users restriction to the home directory ..( I believe..)

But really .. this program works great, and together with putty it's really what I have been missing !