Skip to content

Conversation

@jrochel
Copy link

@jrochel jrochel commented Jul 11, 2019

The right way to control the verbosity with regards to logging is to
change the log level.

@jrochel jrochel requested a review from vouillon July 11, 2019 15:53
with Not_found as e -> ignore (Lwt_log.error "Error: Wrong user"); raise e)
in
Lwt_unix.chown (full_path access_file) uid gid >>= fun () ->
Lwt_unix.chown (full_path warning_file) uid gid >>= fun () ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if ocsigenserver is started as root and calls setuid to change its user ID?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Traité.

@vouillon vouillon merged commit ac1456a into ocsigen:master Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants