Github user growse commented on the pull request:
https://github.com/apache/spark/pull/4509#issuecomment-74177629
Is it a bad principle that code that needs to create local, secure storage
should explicitly call chmod700? So in the case of `SparkIMain.scala`, if the
directory does need to have its permissions changed, that should be done in
`outputDir` rather than in `createTempDir`?
To me, it would seem surprising to call `createTempDir` and find that the
method not only creates directories but also sets permissions. Maybe
`createPrivateTempDir` would be a better method name in that case.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]