Log File permissions

Matthew Newton mcn4 at leicester.ac.uk
Fri Jul 22 12:29:18 CEST 2016


On Fri, Jul 22, 2016 at 10:28:51AM +0000, Marc Beaumont wrote:
> Version is 3.0.4.

That's old.

> Why would I need to set the umask? The permissions entry is a
> specific setting that says what the permissions will be on the
> files. If it doesn’t work, why is it there?

man 2 open

 "The effective permissions are modified by the process's umask in
  the usual way: The permissions of the created file are (mode &
  ~umask)."

That's the whole point of umask...

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list