Setting UMASK for SFTP users

Add this line to /etc/pam.d/sshd:

session    optional     pam_umask.so umask=0002

User tags

AMD pvmove iops ardour scsi DRBD lstat graylog2 video dovecot ubuntu raid OpenStack ip munin pacemaker Salt CPAN tool ansible ipmitool radeon docker conntrack glusterfs mysql virt-install docker-compose KVM build opcontrol backtrace bridge dns mdadm LSI sysctl.conf java taskset lxc MegaRAID exim Adaptec shorewall keyboard freedos mount routing sysfs bug newgrp rkhunter shellshock nfs4 puppet oprofile idmapd openvpn replication APU RT bacula sysresccd sg soa bash cluster gdb ddos gpg MODx lts su sftp qemu ps vtysh search NFS hotplug perl corosync /etc/network/interfaces dhcp SuperMicro exim4 xargs alien pulseaudio xhost OpenSSL alsa tftp cache SYN hdparm debootstrap cgroups iptables arch xfs SpamAssassin flash qcow2 sysrq chroot HDFS zRam groups netfilter chromium etch apt profiling fido7 StorMan iowait usb pam limit_conn ssh htop tun X forwarding slab wordpress elliptics sysctl debian rsync jackd vim leap second vlan perlbrew 3Ware php storage route ha xen rtsp rtl8723be nginx squeeze iSCSI language in-addr.arpa tin ulimit SSD initrd bind cpu dstat lenny rpm .htaccess proxy tiger CentOS equalizer cfq fio HTTPS source arping dpkg security erase arp Areca deb bonding core dump boot tzdata grub tar asoundrc nvidia encrypt drupal wget youtube mkfs swap dhclient vrrp virsh Swift performance PTR cpanm bscan centos 7 git vrrpd find quagga glxinfo ipmi lubuntu cpu usage numa kernel LVM fail2ban PXE opreport gre virtualbox iostat sublime apache parallel noop regex top gtk raid5 backup mariadb firefox