Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    70

    Question Pure-ftpd umask not being set correctly

    Hi everyone,

    It seems the pure-ftpd umask setting is not being handled correctly, which causes SuPHP to trip over my default file permissions.

    umask setting in /etc/pure-ftpd.conf:

    Code:
    Umask 133:022
    Startup script output:

    Code:
    Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -s -U133:022 -u100 -i -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -k99 -Z -Y1 -JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    In the above configuration, I would expect files to have 0744 and directories to have 0755, but they are being set as 666 and 777.

    Any ideas what is going wrong here?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Question

    What are your settings here in WHM for PHP Handler?
    Main >> Service Configuration >> Apache Configuration >> PHP and SuExec Configuration
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  3. #3
    Member
    Join Date
    Jan 2010
    Posts
    70

    Default

    I am handling PHP5 by SuPHP.

    The problem is not a SuPHP one; newly created files through FTP get the wrong umasks.

Similar Threads & Tags
Similar threads

  1. Pure-FTPD
    By tomtombomb in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-20-2011, 03:33 PM
  2. pure-ftpd
    By WilliamE in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-21-2005, 02:36 PM
  3. Site to Site Transfer Failed! Pure-ftpd/Pro-ftpd
    By yeahbaby in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-08-2005, 12:31 PM
  4. pure-ftpd
    By aliensid in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-26-2004, 01:41 PM
  5. pure-ftpd
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-13-2002, 03:48 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube