zero323 commented on a change in pull request #35082:
URL: https://github.com/apache/spark/pull/35082#discussion_r777228929
##########
File path: core/src/main/scala/org/apache/spark/util/Utils.scala
##########
@@ -605,6 +606,18 @@ private[spark] object Utils extends Logging {
}
}
+ def setExec(dest: File): Unit = {
+ val files = dest.listFiles()
+ for (i <- files) {
+ if (i.isDirectory) {
+ setExec(i)
+ }
+ else {
+ i.setExecutable(true)
Review comment:
Not to mention, it seems like a huge security risk.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]