Proftpd stuff and info asked

have 1 domain running with 2 users

user 1 is upload
user 2 is the siteadmin, name: download
with a special setting for proftpd I am able that user1 can upload, make folders etc .. and user download is able to download the stuff
But …
I want this user download also to be able to chmod the files to ie. 644, 755, 777

normally when root / admin you can do this, but how to do it through the proftd.conf?

example of the config (which is working fine).

## Proftpd Special configuration

## Dennis Slagers september 2006

## allow user to upload files, list the files in the folder

## but deny download or removal of those files.

## than

## allow admin user to have total control over that upload folder

## Folder where the user enters the FTP ##

<Directory /home/sites/domain.ltd.com/users/allow-upload>

## Allow the user with total control ##

## Deny all options for any other user ##

  <Limit ALL>

    AllowUser download

    DenyAll

  </Limit>

## Options allowed ##

  <Limit PWD XPWD CDUP CWD XCWD XCUP LIST PORT PASV MKD>

     AllowAll

   </Limit>

## Allow storage of files, could be put in above section I think

   <Limit STOR STOU>

     AllowAll

   </Limit>

</Directory>

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.