How do I turn on the labels for ls -l
?
-rw------- 1 root root 0 Jan 2 2014 php_logging.log
The first is permissions but root root
confuses me. One is the username of the owner and the other is something else. I'm looking at a similar PHP log file that has root httpd
, so I need to figure out what the second name is, so I can change that. It might be chgrp httpd
.