Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'd like to have vsftpd convert all uploaded filenames matching /home/$USER/public_html/* to lowercase, and set the permissions to 644 upon upload. Is this possible and how can I do this?

share|improve this question
up vote 1 down vote accepted

Vsftpd can't lowercase filenames, you may be able to get proftpd to do it though. There is a configuration directive

file_open_mode - The permissions with which uploaded files are created. Umasks are applied on top of this value. You may wish to change to 0777 if you want uploaded files to be executable.

Default: 0666

You can probably adjust it to meet your requirements.

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.