The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other UMASK 022 Being Ignored?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #42062
    Andy Howells

    Hey all,

    I’m having trouble with one of my VPS’s and can’t figure this issue out.

    For some reason when files are uploaded through non-root accounts files are set at 600 and folders at 700.

    Even though the global umask is set at 022.

    If I upload via the root account it functions as expected.

    Server is running Ubuntu 12.04

    Andy Howells


    Solved this by editing /etc/vsftpd.conf uncommenting the local_umask line and setting the below;


    Works perfect.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.