Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
Last active August 29, 2015 14:15
Show Gist options
  • Save tuxfight3r/f4945395605b25177789 to your computer and use it in GitHub Desktop.
Save tuxfight3r/f4945395605b25177789 to your computer and use it in GitHub Desktop.
proftpd shared ACL Setup
#RMP Top Folder Permissions
<Directory /sftp/home/rmp_inbound/>
#Default Deny all
<Limit ALL>
DenyAll
</Limit>
# Allow Full Access - RMP internal group
<Limit CWD WRITE STAT LSTAT DIRS READ>
AllowGroup rmp_intgrp
</Limit>
# Allow Read Only Access - RMP External Group
<Limit CWD STAT LSTAT DIRS READ>
AllowGroup rmp_extgrp
</Limit>
</Directory>
#RMP External Group - Block Access to Test
<Directory /sftp/home/rmp_inbound/Test/>
#Dont show this directory
HideNoAccess on
# Deny Full Access to RMP internal group
<Limit CWD STAT LSTAT DIRS READ WRITE>
DenyGroup rmp_extgrp
</Limit>
</Directory>
#RMP External Group - Block Access to Logs
<Directory /sftp/home/rmp_inbound/Logs/>
#Dont show this directory
HideNoAccess on
# Deny Full Access to RMP External group
<Limit CWD STAT LSTAT DIRS READ WRITE>
DenyGroup rmp_extgrp
</Limit>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment