Grow your CSS skills. Land your dream job.

UMASK 022 Being Ignored?

  • # January 17, 2013 at 2:03 pm

    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

    # January 18, 2013 at 6:50 am

    FIXED

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

    local_umask=0022

    Works perfect.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".