why a chmod 644 for logfiles?

Alex Groenewoud alex at linuxfromscratch.org
Tue Jan 27 13:34:43 PST 2004

Could someone please tell me why a 'chmod 644' is needed for the login
logfiles?  When the reader su's from lfs to root, root will inherit the
022 umask automatically, so there is no need for this chmod.  And if the
reader becomes root via a different path, shouldn't we make sure that
the umask is set to 022 again?  Because the config files that are catted
later should all have mode 644, I imagine, apart from the lex script.


More information about the lfs-dev mailing list