vsftpd: Why are the permissions for all my uploaded files set to 600?

Last updated on

If all your uploaded files have permissions set to 600, you will need to alter the vsftpd config file.

sudo nano /etc/vsftpd.conf

Look for the line #local_umask=022 (You can search in nano with CTRL + W, type local_umask, press ENTER)

Uncomment this line by deleting the # sign so it looks like this


Save file and exit. (Press CTRL + X, press Y and then press ENTER)

Restart vsftpd.

sudo service vsftpd restart

Upload a test file via FTP and the permissions should now be set correctly.

Let me know in the comments if this helped. Follow me on Twitter, Facebook and YouTube.

p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.

1 Star2 Stars3 Stars4 Stars5 Stars 4.60 (5 votes)

Leave a Reply

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

We use Markdown to style comments, like on Github and Reddit.
To do a line break, type two spaces after the sentence.
You can add inline code by wrapping it in backticks: `code here`

    To do an entire block of code  
    type four spaces before the line
    and it will appear in a block like this.
    <-- four empty spaces

1 reply