Koozali.org: home of the SME Server

chmod via ftp

msilkjr

chmod via ftp
« on: April 06, 2004, 01:52:15 AM »
does any new know how to enable chmod and delete via the ftp for sme 6 i use ftp alot and really need to be able to chmod files.

bobk

chmod via ftp
« Reply #1 on: April 07, 2004, 12:39:54 AM »
First be aware of the security problem you can induce by changing the ftp server settings. Scew it up and your next post with most likely be "I GOT HACKED"!

Second boneup on configuring proftpd. http://www.proftpd.org/

Look at /etc/proftpd.conf. The setting for <Limit SITE_CHMOD> is set to "DenyAll". This setting comes from /etc/e-smith/templates/etc/proftpd.conf/10LimitSiteChmod

Other setting are controled by other template fragments. Once you understand how to configure proftpd you can copy the fragments you want to change to "templates-custom", edit in your changes, expand the template and restart proftpd.

If any of the above is too confusing, you shouldn't be playing around with this anyway.

msilkjr

thanks
« Reply #2 on: April 07, 2004, 03:36:57 PM »
Thanks I understand the risks involved in this i'm just new to the template way SME works, But I like it so far. My question to you is would you use a paid web host that didn't give you the ability to chmod your files?

bobk

chmod via ftp
« Reply #3 on: April 07, 2004, 04:44:26 PM »
Firstly, my advice is strictly that ‘advice’. You can either take it or leave it. The choice is yours.

Secondly, even if you are aware of the risks and implications, there are many others reading these posts that are not. A few minutes browsing through these forums will show you that there are numerous individuals attempting to administer SME servers with very little background, knowledge or experience to do so. The comments I made were aimed at those novices in a hope that they will take the time to become better informed before jumping into something that can get them into deep trouble.

Thirdly, SME is not really designed to be used as a public hosting server. So that is not a very fair comparison.

Fourthly, there are much better and secure methods to work remotely with the SME file system than insecure FTP.  SSH being my preferred method.

Hopefully I haven’t offended you or anyone else because that surely is not my intention.

msilkjr

sorry
« Reply #4 on: April 07, 2004, 05:17:49 PM »
Don't worry no offence taken here. I my self i'm new to SME and am still learning it. I do see many great thing about it.

bobk

chmod via ftp
« Reply #5 on: April 07, 2004, 05:29:45 PM »
I'm glad you like it, enjoy the learning experience.

I've been deploying and administering SME (e-smith) servers for about five years and still learn something new almost daily.