You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current implementation, copyExecutable does not favor the original file permission except the file owner:
/** Transfers the executable property of `sourceFile` to `targetFile`. */defcopyExecutable(sourceFile: File, targetFile: File) = {
valexecutable= sourceFile.canExecute
if (executable) targetFile.setExecutable(true) /// equivalent to setExecutable(executable=true, ownerOnly=true)
}
For example, if the original file permission is 775 (rwxrwxr-x), and copied by sbt.io.IO.copyExecutable, it will results in 764 (rwxrw-r--) executable flag are removed from the group and others).