| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD module mod_facl</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr> |
| 10 | <center> |
| 11 | <h2><b>ProFTPD module <code>mod_facl</code></b></h2> |
| 12 | </center> |
| 13 | <hr><br> |
| 14 | |
| 15 | <p> |
| 16 | The <code>mod_facl</code> module adds support to ProFTPD for POSIX ACLs. |
| 17 | For more information on what POSIX ACLs are and how they work, see |
| 18 | "POSIX ACLs on Linux": |
| 19 | <pre> |
| 20 | <a href="http://www.suse.de/~agruen/acl/linux-acls/online/">http://www.suse.de/~agruen/acl/linux-acls/online/</a> |
| 21 | </pre> |
| 22 | POSIX ACLs are supported and implemented differently on Linux, BSD, and |
| 23 | Solaris. ProFTPD attempts to work properly with POSIX ACLs on all of |
| 24 | these platforms. |
| 25 | |
| 26 | <p> |
| 27 | Installation instructions for <code>mod_facl</code> can be found |
| 28 | <a href="#Installation">here</a>. <i>Note</i> that the <code>configure</code> |
| 29 | script will automatically determine whether the system supports POSIX ACLs, |
| 30 | but it will <b>not</b> automatically make use of that support <em>unless</em> |
| 31 | the <code>--enable-facl</code> option is used. <i>In addition</i>, to have |
| 32 | ProFTPD fully <em>honor</em> POSIX ACLs on files, you will also need this |
| 33 | <code>mod_facl</code> module. |
| 34 | |
| 35 | <p> |
| 36 | The most current version of <code>mod_facl</code> can be found in the |
| 37 | ProFTPD source distribution: |
| 38 | <pre> |
| 39 | <a href="http://www.proftpd.org/">http://www.proftpd.org/</a> |
| 40 | </pre> |
| 41 | |
| 42 | <h2>Directives</h2> |
| 43 | <ul> |
| 44 | <li><a href="#FACLEngine">FACLEngine</a> |
| 45 | </ul> |
| 46 | |
| 47 | <hr> |
| 48 | <h3><a name="FACLEngine">FACLEngine</a></h3> |
| 49 | <strong>Syntax:</strong> FACLEngine <em>on|off</em><br> |
| 50 | <strong>Default:</strong> on<br> |
| 51 | <strong>Context:</strong> server config<br> |
| 52 | <strong>Module:</strong> mod_facl<br> |
| 53 | <strong>Compatibility:</strong> 1.3.1rc1 and later |
| 54 | |
| 55 | <p> |
| 56 | The <code>FACLEngine</code> directive enables or disables the module's |
| 57 | runtime checking of POSIX ACLs. Use this directive to disable the module. |
| 58 | |
| 59 | <p> |
| 60 | <hr> |
| 61 | <h2><a name="Installation">Installation</a></h2> |
| 62 | To use the <code>mod_facl</code> module, configure <code>proftpd</code> |
| 63 | using the following: |
| 64 | <pre> |
| 65 | $ ./configure --enable-facl --with-modules=mod_facl ... |
| 66 | </pre> |
| 67 | |
| 68 | <p> |
| 69 | <b>Logging</b><br> |
| 70 | The <code>mod_facl</code> module supports <a href="../howto/Tracing.html">trace logging</a>, via the module-specific log channels: |
| 71 | <ul> |
| 72 | <li>facl |
| 73 | </ul> |
| 74 | Thus for trace logging, to aid in debugging, you would use the following in |
| 75 | your <code>proftpd.conf</code>: |
| 76 | <pre> |
| 77 | TraceLog /path/to/ftpd/trace.log |
| 78 | Trace facl:20 |
| 79 | </pre> |
| 80 | This trace logging can generate large files; it is intended for debugging use |
| 81 | only, and should be removed from any production configuration. |
| 82 | |
| 83 | <p> |
| 84 | <hr> |
| 85 | <font size=2><b><i> |
| 86 | © Copyright 2000-2017 TJ Saunders<br> |
| 87 | All Rights Reserved<br> |
| 88 | </i></b></font> |
| 89 | <hr> |
| 90 | |
| 91 | </body> |
| 92 | </html> |