filebot / plugins

Plugins and shell scripts for integrating 3rd party tools with FileBot
https://www.filebot.net/
GNU General Public License v3.0
92 stars 53 forks source link

Failure: java.nio.file.FileSystemException - Operation non permitted. #12

Closed bhansley closed 6 years ago

bhansley commented 6 years ago

I was getting this error on my filebot-node docker instance, and I figured out why, and wanted to document it for others who stumble across this thread. For me, the error was that input and output were on different filesystems (not really, but with the way docker was mounting bind volumes, it appeared that way to the app.

From a docker point of view, I was mounting source and destination as separate volumes:

 - /mnt/nas/media/video/todo:/volume1/input
 - /mnt/nas/media/video:/volume1/output

even though todo is just a peer level directory to Movies.

Before: Input folder: /volume1/intput Output folder: /volume1/output

resulted in: [COPY] Failure: java.nio.file.FileSystemException: /volume1/output/Movies/someVideoName.avi: Operation not permitted

After: Input folder: /volume1/output/todo Output folder: /volume1/output

That change had it appear to Filebot & Java that it was working on the same volume / filesystem and the program ran without a problem and moved my files where I expected.

Hope this helps someone!