Change default ftp umask

Discussion in 'Installation/Configuration' started by r12dk, Apr 21, 2006.

  1. r12dk

    r12dk New Member

    Hello

    Where do i change the deafult umask for the ftp?
    Iam running proftpd and, where do i change the umask?

    I can upload with the 022 umask, but apacke cant read the files.
    ie:
    Warning: Unknown(/var/www/web5/web/index.php): failed to open stream: Permission denied in Unknown on line 0

    My files get uploaded with -rw------ (0600) permissions.

    Thanks, Peter.
     
  2. r12dk

    r12dk New Member

    And, also, kind of the same problem.

    I want to change the openbase dir, where?

    If i put in the php_admin_value in the site manager in ISP it is written i the start of VirtualHost and there by gets overwritten later with the default.

    (I want to get :/usr/share/php:/usr/share/pear into the openbase dir, for pear access.)
     
  3. tom

    tom Member

    The umask for ftp upload I guess you can change here:
    tom
     
  4. r12dk

    r12dk New Member

    Hello Tom

    yes, its the file, but ispconfig rewrites the config on restart.

    But i found it, anyway:

    for proftpd theres a master file in /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master

    and for apache its

    /root/ispconfig/scripts/lib/config.lib.php

    Now its working.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You could have changed it in /etc/proftpd.conf. That file doesn't get overwritten by ISPConfig.
     

Share This Page