LawsHosting
Verified User
Searched for this, nothing turned up.
Anyway, I'veprevented people from deleting folders (i.e public_html) via DA by the all_pre.sh....... Now, is there a way to prevent this within ProFTP?
eg.
Would this work, or would this effect sub-folders too?
If this would work, where would I put it? proftpd.vhosts.conf?
Anyway, I'veprevented people from deleting folders (i.e public_html) via DA by the all_pre.sh....... Now, is there a way to prevent this within ProFTP?
eg.
<Directory /home/<user>/domains/<domain>/public_html>
Umask 022 022
AllowOverwrite on
<Limit DELE>
DenyAll
</Limit>
</Directory>
or, may not work, but:
<Directory /home/*/*/*/public_html>
Umask 022 022
AllowOverwrite on
<Limit DELE>
DenyAll
</Limit>
</Directory>
Would this work, or would this effect sub-folders too?
If this would work, where would I put it? proftpd.vhosts.conf?