Weird gid and permissions in /var/log/ksymoops
Hello,
I've noticed that something is misbehaving when creating files under
/var/log/ksysmoops. I'm rather displeased at files in a log directory being
created with mode 0555. They really ought to be either mode 644 or 444.
Here is an entire day worth of files:
-rw-r--r-- 1 root root 41775 Jan 6 08:44 20000106084434.ksyms
-rw-r--r-- 1 root root 749 Jan 6 08:44 20000106084434.modules
-rw-rw-rw- 1 root lp 45014 Jan 6 08:44 20000106084437.ksyms
-rw-rw-rw- 1 root lp 950 Jan 6 08:44 20000106084437.modules
-rw-rw-rw- 1 root lp 45277 Jan 6 08:44 20000106084438.ksyms
-rw-rw-rw- 1 root lp 959 Jan 6 08:44 20000106084438.modules
-r--r--r-- 1 root root 45277 Jan 6 08:52 20000106085247.ksyms
-r--r--r-- 1 root root 950 Jan 6 08:52 20000106085247.modules
-rw-r--r-- 1 root hmh 45612 Jan 6 19:28 20000106192800.ksyms
-rw-r--r-- 1 root hmh 1032 Jan 6 19:28 20000106192800.modules
-rw-r--r-- 1 root hmh 45896 Jan 6 19:33 20000106193345.ksyms
-rw-r--r-- 1 root hmh 1116 Jan 6 19:33 20000106193345.modules
Interestingly enough, the permissions are much better (umask 022) for
anything from Jan 04 and before.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: