Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I am trying to allow a certain FTP user to access ONLY a specific directory and to ONLY be able to "GET" files from it. He should NOT be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Posts
    11

    ProFTPD Configuration


    Hello,

    I am trying to allow a certain FTP user to access ONLY a specific directory and to ONLY be able to "GET" files from it. He should NOT be able to list the directory, change it, delete or write anything.

    I tried the following in the proftpd.conf file, but it doesn't work. I also tried many other options, but it either gives him too many permissions, or not enough.

    <Directory /home/webadmin/abcdef.com/html/download/david>
    <Limit WRITE LIST>
    DenyUser david
    </Limit>
    </Directory>

    I don't think that I can set it through the directory's permissions, because other users should be able to do anything.

    Any advice would be highly appreciated.

    Thank you in advance.

    David

  2. #2
    Just Joined!
    Join Date
    Sep 2004
    Location
    Laval
    Posts
    1

    FTP and permit

    There is directive that can allow you to restrict what user can do.

    LIMIT WRITE, READ, RETR

    so you can limit WRITE
    And allow RETR..

    I'm using it so people can put file without being able to get all the other documents.

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Posts
    11

    I can't understand

    Hi,

    I couldn't understand from bkk's message what's wrong with the example I posted and what exactly should be done.

    Please help.

    Thanks,

    David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •