mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
* don't copy attributes as to avoid possible permissions issues
This commit is contained in:
parent
d6c9c3ca7c
commit
b160272e68
@ -73,7 +73,7 @@ public final class FileUtilities {
|
||||
} else {
|
||||
// copy file
|
||||
try {
|
||||
java.nio.file.Files.copy(source.toPath(), destination.toPath(), StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.COPY_ATTRIBUTES);
|
||||
java.nio.file.Files.copy(source.toPath(), destination.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
} catch (LinkageError e) {
|
||||
org.apache.commons.io.FileUtils.copyFile(source, destination);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user