• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Default file and directory permissions for Linux Redhat 7.xx?

Pacinamac23

Senior member
I am trying to figure out some UMASK stuff and I need to know what the default permissions on a newly created file are, and also what they are on a newly created directory. Textbooks give me nothing, the net gives me nothing and I do not have linux installed at home. Does anyone know?
 
[bart@jbomb umasktest]$ touch testfile
[bart@jbomb umasktest]$ mkdir testdir
[bart@jbomb umasktest]$ ls -l
total 4
drwxrwxr-x 2 bart bart 4096 Apr 28 21:27 testdir
-rw-rw-r-- 1 bart bart 0 Apr 28 21:27 testfile
[bart@jbomb umasktest]$


edit: sorry, this is RH 7.3, and inside my home directory
 
Back
Top