Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been looking for a way to have specific users who have access my FTP to have read-only permission on particular directories. I came across some articles on creating .ftpaccess files (which I've read are similar to .htaccess files) to create customized configurations for specific directories and sub-directories.

After reading everything I could find about .ftpaccess files through Google and attempting to create said files I've had no luck.

Does anyone know the syntax that is needed to get these files to work? And is there a particular setting that I need to have enabled to enable these files? I've looked through the conf files but found nothing.

share|improve this question

AFAIK, Pure-FTPd doesn't support per directory access control. .ftpaccess belongs to ProFTPD.

You probably want to switch to ProFTPD with something like this:

<Directory /path/to/particular/directory>
        AllowUser specific_user

    <Limit ALL>
        DenyUser specific_user
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.