UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All FTP users must have a default umask of 077.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12011 GEN005040 SV-12512r2_rule ECCD-1 ECCD-2 Medium
Description
The umask controls the default access mode assigned to newly created files. An umask of 077 limits new files to mode 700 or less permissive. Although umask is stored as a 4-digit number, the first digit representing special access modes is typically ignored or required to be 0.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-7976r2_chk )
Check the umask setting for the FTP user.

Procedure:
# su - ftp
$ umask

If the umask value does not return 077, this is a finding.
Fix Text (F-11272r2_fix)
Edit the initialization files for the FTP user and set the umask to 077.