Github user knusbaum commented on a diff in the pull request:
https://github.com/apache/storm/pull/2187#discussion_r125766911
--- Diff: storm-core/src/clj/org/apache/storm/daemon/logviewer.clj ---
@@ -502,6 +503,20 @@
(-> (resp/response "Page not found")
(resp/status 404)))))
+(defnk set-log-file-permissions [fname root-dir]
+ (let [file (.getCanonicalFile (File. root-dir fname))
--- End diff --
Indentation on this function is off.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---