From: TJ S. <cas...@us...> - 2010-01-05 17:06:18
|
Update of /cvsroot/pdd/www.proftpd.org/docs/howto In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32576 Modified Files: Umask.html Log Message: Updated Umask howto on website. Index: Umask.html =================================================================== RCS file: /cvsroot/pdd/www.proftpd.org/docs/howto/Umask.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Umask.html 17 Aug 2007 00:11:26 -0000 1.1 --- Umask.html 5 Jan 2010 17:06:09 -0000 1.2 *************** *** 81,84 **** --- 81,101 ---- configuration directive. + <p><a name="FAQ"></a> + <b>Frequently Asked Questions</b><br> + + <p><a name="UmaskExecutePermission"> + <font color=red>Question</font>: How can I configure <code>proftpd</code> so + that I can upload a file with <code>770</code> permissions?<br> + <font color=blue>Answer</font>: Short answer: you can't. Too many FTP servers, + in the past, would allow users to upload executable files. Hackers would + use this capability, and then exploit a flaw in one of the servers on that + machine to execute the crafted file they just uploaded. Thus ProFTPD does + not allow uploading of files with execute permissions. + + <p> + The workaround, as mentioned above, is to allow the client to use the + <code>SITE CHMOD</code> command to change the permissions on the file to + have the execute permissions. + <p> <hr> |