Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mcp_dk on February 02, 2004, 12:17:41 PM

Title: CHMOD via FTP program
Post by: mcp_dk on February 02, 2004, 12:17:41 PM
Hi. I have a SME 6.0 Final running.

I host multiple subdomains on this and some of them run CMS like phpnuke and PHPBB+
They need to have chmod on config php changed during and after installation. When i change this with my usual FTP program (FileZilla) it doesn't work. The changes are not carried through.
I can go in via Root account and MC and change the settings via chmod 644 config.php but that is only good because i am admin. My friend who is also using a subdomain is not admin and i don't want him messing around on the server. What setting do i need to change to allow people the chmod the files via their FTP program?

thanks in advance

Michael
Title: CHMOD via FTP program
Post by: Muzo on February 02, 2004, 01:32:07 PM
Hi,

For some security reason, FTP CHMOD is forbidden. So prefer SSH instead of FTP, to "CHMOD".
Title: CHMOD via FTP program
Post by: mcp_dk on February 02, 2004, 02:49:56 PM
ok thanks.

How would you suggest i educate my users in this ? WHat program is good for this and hwo do i set it up so they only have access the chmod their own files?
Title: CHMOD via FTP program
Post by: Muzo on February 02, 2004, 06:12:30 PM
I don't know, but take look at this product :
http://quixplorer.sourceforge.net/
Title: CHMOD via FTP program
Post by: sudemo on February 02, 2004, 10:42:40 PM
or take a look at: http://winscp.sourceforge.net/eng/
this is a nice program I use for different server soft and also works perfect for the SME server.

Martin
Title: CHMOD via FTP program
Post by: mcp_dk on February 04, 2004, 09:56:18 AM
Thank you

both suggestions look good from different perspectives. I will take a look at them.
Title: CHMOD via FTP program
Post by: mcp_dk on February 04, 2004, 06:00:27 PM
Quote from: "Muzo"
I don't know, but take look at this product :
http://quixplorer.sourceforge.net/


the program looks awesome and its really somethin i can use however....

i still cant chmod files. permission denied... any know workaround ?
Title: CHMOD via FTP program
Post by: sudemo on February 06, 2004, 06:14:15 PM
You need login on the server as root !
Than you can change everything.

Martin
Title: CHMOD via FTP program
Post by: mhvorup on February 06, 2004, 07:09:29 PM
hi everyone,

I ran into this a while back, here is the soluton, it works great for me on 5.6

1. copy the template 40IBayAccess
from /etc/e-smith/templates/etc/proftpd.conf
 to /etc/e-smith/templates-custom/etc/proftpd.conf

2. add this line
$OUT .= " AllowChmod on\n";
above $OUT .= " AllowOverwrite on\n";
and below $OUT .= "<Directory  :-D /home/e-smith/files/ibays/$key/*>\n";

3. expand the template /sbin/e-smith/expand-template  /etc/proftpd.conf

you are done. this allows chmod capabilites for every ibay that you create.