Backups to use umask 0077

Version 1.53


Although the folders are always set securely be default, Users could still change their backup folder permission to 755 by accident. As a precaution, temporarily change DA to use umask 0077, then back to whatever it was before. This lets the tar.gz be built with chmod 600, instead of 644. As mentioned, the default folders permissions should already all block any security concerns with it, but Users are prone to errors, so this is just an extra layer of security.

Interested to try DirectAdmin? Get a 30-day Free Trial!