summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/protocol/aclallowexecutealways.xml
blob: 60ffb34a5ff8fbe94232aa8ca828c86e0d2d1dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<samba:parameter name="acl allow execute always"
                 context="S"
                 type="boolean"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
    <para>
    This boolean parameter controls the behaviour of <citerefentry><refentrytitle>smbd</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry> when receiving a protocol request of "open for execution"
    from a Windows client.
    With Samba 3.6 and older, the execution right in the ACL was not checked, so a client
    could execute a file even if it did not have execute rights on the file. In Samba 4.0,
    this has been fixed, so that by default, i.e. when this parameter is set to "False",
    "open for execution" is now denied when execution permissions are not present.
    </para>
    <para>
    If this parameter is set to "True", Samba does not check execute permissions on
    "open for execution", thus re-establishing the behaviour of Samba 3.6.
    This can be useful to smoothen upgrades from older Samba versions to 4.0 and newer.
    This setting is not meant to be used as a permanent setting, but as a temporary relief:
    It is recommended to fix the permissions in the ACLs and reset this parameter to the
    default after a certain transition period.
    </para>
</description>
<value type="default">no</value>
</samba:parameter>