)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"change_message_id":"8226e172ffabbb385367d3984816ccc107e71507","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f369ffaf_223fda05","updated":"2026-10-31 14:04:38.000000000","message":"\u003e Anyone who can create entries in the journal\ndirectory can therefore plant symlinks\n\nThis the main problem here. The journal dir has too wide open permissions. Please add to the man page that that this should be only writable from the OpenVPN daemon.","commit_id":"c8572113a1bc19f64d5e09a9e1d362e87611c823"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"b6d947f1ab4aecf97af446405241fcd16920a752","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f866d13c_3a4364e4","updated":"2026-10-31 12:52:47.000000000","message":"This will not protect against hard links at all.","commit_id":"c8572113a1bc19f64d5e09a9e1d362e87611c823"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"c2502b2dadb6cf44b857cc8907c62cc6f39ff6d2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"deacc055_21b5840f","in_reply_to":"6c811de7_76546920","updated":"2026-10-31 13:06:53.000000000","message":"Right. Something like:\n\n```\nunlink(jfn);\nint fd \u003d platform_open(jfn, O_CREAT | O_EXCL | O_WRONLY, S_IRUSR | S_IWUSR | S_IRGRP);\n```\n\nwould, I think, cover both cases.\n\nDoes that break something subtle I\u0027m missing?","commit_id":"c8572113a1bc19f64d5e09a9e1d362e87611c823"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"7a9e1b570d37bce92898c0e253ae1cff2cdd1ff6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"6c811de7_76546920","in_reply_to":"f866d13c_3a4364e4","updated":"2026-10-31 12:58:36.000000000","message":"It does not claim to... but we could ask the original author to add an `O_EXCL`, but tbh I\u0027m not sure how good the port-share code is at cleaning up old files, so re-using of port numbers might lead to spurious failures then.","commit_id":"c8572113a1bc19f64d5e09a9e1d362e87611c823"}]}
