Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: TheNewGuy on March 23, 2002, 09:21:13 AM
-
I want my development team to be able to chmod files in their corrisponding ibays' cgi-bin directory through an FTP client (e.g. WS_FTP). I think normaly you would edit /etc/ftpaccess but that file isn;t installed with SME. I was wondering how one could set this up? I was also wondering how to send the users of a group to a specific folder in the groups ibay when they login through FTP.
-
You can "chmod" files from Cute FTP - www.cuteftp.com
Rob.
-
Its not the FTP client that has a problem with chmod, its the server disallowing it.
-
You need to modify proftpd.conf to allow chmod via ftp.
/etc/e-smith/templates/etc/proftpd.conf/05DisallowChmod
change
AllowChmod false
to
AllowChmod true
/sbin/e-smith/expand-template /etc/proftp.conf
Jon
-
To dump folks in a given directory when logging in via FTP, make a custom template fragment:
1. cd /etc/e-smith/custom-templates/ext/proftpd.conf (if the dir does not exist, make it).
2. pico 05CustomRoot
3. In pico:
#User Account Custom Login Statement
DefaultRoot /home/e-smith/files/ibays/ibay_name_here ftp_login_name_here
4. Save the file.
5. Expand the proftp template fragments:
/sbin/e-smith/expand-template proftpd.conf
6. Restart the proftp deamon.
This example has all of your folks coming in under one FTP account name, which I like. I'm sure one could set this up to work by group name with a little research in the proftp documentation.
Good Luck.
Greg Zartman
-
Sorry, I see a typo in my original post.. On step one, the path you are looking to create (or cd into) is:
/etc/e-smith/custom-templates/etc/proftpd.conf
Greg
-
> /etc/e-smith/custom-templates/etc/proftpd.conf
Actually, that's templates-custom, not custom-templates.