Koozali.org: home of the SME Server

Can't CHMOD

kai4ever

Can't CHMOD
« on: May 03, 2005, 05:53:15 AM »
how i can CHMOD using FTP software such as WSFTP? :idea:

Currently i'm using SME Server 6.5
Please help me....

thedude

Can't CHMOD
« Reply #1 on: May 03, 2005, 03:59:20 PM »
You need to change the proftpd.conf file to allow chmod. It is in /etc. But, you will actually need to change the template file which is elsewhere. etc/e-smith/templates-custom

hackersoft

Resolved for SME Server Version 7 Final
« Reply #2 on: July 18, 2006, 09:49:30 AM »
As for me, ftp is more convenient way of letting the users access their contents instead of giving them shell access but having ftp chmod denied for ftp becomes an inconvenience...

I suggest that admins be given the option to tweak the templates via the server-manager so noob users like me don't have to do it manually anymore.

Here's what I did to resolve this issue:

1. Access your SME box via WinSCP and login as root
2. Go to the directory below:
/etc/e-smith/templates/etc/proftpd.conf

3. Look for a file like 10LimitSiteChmod
4. Right-click and click edit.
5. Change the word Deny from DenyAll to Allow as in AllowAll
6. Access the server-manager
7. Click on Reboot or Shutdown
8. From the drop-down list click reconfigure
9. The SME Box will reboot with FTP CHMODding now allowed
10. Good Luck!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Resolved for SME Server Version 7 Final
« Reply #3 on: July 18, 2006, 11:03:35 AM »
hackersoft

> Here's what I did to resolve this issue:

That's bad policy to edit templates directly. "thedude" even told you to edit the custom templates too !
See my response & revised procedure here:
http://forums.contribs.org/index.php?topic=25279.0
...

hackersoft

Can't CHMOD
« Reply #4 on: July 18, 2006, 03:05:07 PM »
I know what I did was not actually considered as best practices... but to cut off the time searching, I simply did that and in my mind, the idea to contribute, share to whoever wants to do a quick fix.

Again, My apology for touching the core templates.

At least now, an example of how to that is available to all.

 :-o