He sets the umask as 0027, yet the default permissions applied are 640 instead of my expected 750.
P PaulGureghian New Member Joined Jun 22, 2020 Messages 2 Reaction score 0 Credits 16 May 15, 2021 #1 He sets the umask as 0027, yet the default permissions applied are 640 instead of my expected 750.
wizardfromoz Administrator Staff member Gold Supporter Joined Apr 30, 2017 Messages 8,944 Reaction score 7,917 Credits 37,654 May 15, 2021 #2 Is this a Redhat inquiry? If so, it should be in Redhat and derivatives. Let us know and I can move it there. Welcome to linux.org Chris Turner wizardfromoz
Is this a Redhat inquiry? If so, it should be in Redhat and derivatives. Let us know and I can move it there. Welcome to linux.org Chris Turner wizardfromoz
OP P PaulGureghian New Member Joined Jun 22, 2020 Messages 2 Reaction score 0 Credits 16 May 15, 2021 #3 Yes. RHEL8.
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,258 Reaction score 4,730 Credits 45,980 May 15, 2021 #4 The calculations for files and directories are different, to calculate the final permissions you do this. Directories: 0777 - umask = permissions Files: 0666 - umask - permissions
The calculations for files and directories are different, to calculate the final permissions you do this. Directories: 0777 - umask = permissions Files: 0666 - umask - permissions
K KGIII Super Moderator Staff member Gold Supporter Joined Jul 23, 2020 Messages 10,130 Reaction score 8,703 Credits 83,765 May 15, 2021 #5 @wizardfromoz and others: The thread has been moved to the most appropriate sub-forum.