Proftpd stuff and info asked

Date April 25, 2007

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

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

After submitting a comment you can MODIFY it again by clicking the message or name

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word