[resending from my other email address.]

On Mon 09-07-18 11:12:47, Michal Hocko wrote:
> Hi,
> I was pointed to cgre_start_daemon and its umask usage. It's been
> introduced in the initial pull of cgrulesd (35d2e11a0458a) and the
> comment doesn't help much.
> 
> umask(0) is almost certainly wrong thing to do. If for nothing else then
> for security reasons. You really do not want to have /var/log/cgred
> globally writable, do you?
> 
> So can we simply drop the umask or there are some other reason why other
> changes are required?

-- 
Michal Hocko
SUSE Labs

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to