Security Management Guide (G06.24+, H06.03+)
Concerns for the User
Security Management Guide—522283-008
5-22
Default File Security
$ chgrp PROJMGR myfile2
$ chmod g=rwx myfile2
$ ls -l myfile2
-rwxrwx--- 1 PROG.WILSON PROJMGR 102 Jul 6 11:20 myfile2
Default File Security
OSS automatically assigns default permissions to your files and directories when they 
are created. To restrict the default permissions assigned to your files, you must 
establish a user mask with the umask command. The user mask specifies the 
maximum file permissions that can be applied to your files when they are created. You 
can execute a umask command at any time during your session so that it applies to 
files and directories created later in the same session. Alternatively, a umask 
command can be stored in your .profile file so that it is executed automatically at the 
start of each session. 
.profile File Security
Secure your .profile file so that no other user can change the file or delete it and 
substitute a different version of it.










