Setting UMASK for SFTP users

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

session    optional     pam_umask.so umask=0002

User tags

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