Skip to content

Commit

Permalink
do not fail if filesystem does not support setting POSIX file permiss…
Browse files Browse the repository at this point in the history
…ions. close #2655
  • Loading branch information
j-dimension committed Nov 9, 2024
1 parent 7cc02e6 commit 92e38ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ public static void setPosixFilePermissions(String absolutePathToFile, boolean re
// Set the permissions on the file
Files.setPosixFilePermissions(path, perms);
log.info("Executable flag added to the file: " + path);
} catch (IOException e) {
} catch (Throwable e) {
log.error("Error adding executable flag: " + e.getMessage());
}
}
Expand Down

0 comments on commit 92e38ed

Please sign in to comment.