Permission Issue

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Posts: 11
Joined: 09 Oct 2015, 14:31

Permission Issue

Post by bookedirl » 30 Jun 2019, 21:45

Hello, I recently updated Filebot and purchased the lifetime membership. I ended up redoing my entire torrentbox in the process to get it up to date. Now I'm running into all kind of issues and could use some help. I been troubleshooting all afternoon and hit a road block now with filebot. It currently runs my script and I can see it moving my file from my tmp folder on my Raspberry Pi to my samba folder. Once it finishes copying the file it appears to be deleted. I checked the amc.log and here's what it gives me:

Code: Select all

Run script [fn:amc] at [Sun Jun 30 22:30:01 BST 2019]
Parameter: music = y
Parameter: clean = y
Parameter: movieFormat = Movies/{any{collection}{n+' ('+y+')'}}/{n} {'('+y+')'}{' CD'+pi}
Parameter: ut_dir = /mnt/tmp/downloads/Toy Story 2 (1999)
Parameter: ut_kind = multi
Parameter: ut_title = Toy Story 2 (1999)
Input: /mnt/tmp/downloads/Toy Story 2 (1999)/Toy.Story.2.1999.720p.BluRay.x264.YIFY.mp4
Input: /mnt/tmp/downloads/Toy Story 2 (1999)/
Group: [Movie:Toy Story 2 (1999)] => [Toy.Story.2.1999.720p.BluRay.x264.YIFY.mp4,]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/tmp/downloads/Toy Story 2 (1999)/Toy.Story.2.1999.720p.BluRay.x264.YIFY.mp4]
[MOVE] from [/mnt/tmp/downloads/Toy Story 2 (1999)/Toy.Story.2.1999.720p.BluRay.x264.YIFY.mp4] to [/mnt/samba/Movies/Toy Story Collection/Toy Story 2 (1999).mp4]
[MOVE] Failure: java.nio.file.FileSystemException: /mnt/samba/Movies/Toy Story Collection/Toy Story 2 (1999).mp4: Operation not permitted
Processed 0 files
FileSystemException: /mnt/samba/Movies/Toy Story Collection/Toy Story 2 (1999).mp4: Operation not permitted
Clean clutter files and empty folders
Delete /mnt/tmp/downloads/Toy Story 2 (1999)/Other/
Delete /mnt/tmp/downloads/Toy Story 2 (1999)/Other/Torrent downloaded from - Copy.txt
Delete /mnt/tmp/downloads/Toy Story 2 (1999)/Other/Torrent Downloaded From
Delete /mnt/tmp/downloads/Toy Story 2 (1999)/Other
Finished without processing any files
Abort (×_×)
I never had to adjust permissions on my previous install but it was an older version of filebot so that could be it. This is on a Raspberry Pi 3 B+ running DietPi.

filebot -script fn:sysinfo

Code: Select all

[email protected]:/mnt# filebot -script fn:sysinfo
FileBot 4.8.5 (r6224)
JNA Native: java.lang.ExceptionInInitializerError
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library Could not initialize class com.sun.jna.Native
p7zip: Cannot run program "7z": error=2, No such file or directory
Jun 30, 2019 10:42:15 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Chromaprint: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/gvfs]
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_212
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 4 Core / 235 MB Max Memory / 15 MB Used Memory
OS: Linux (arm)
HW: Linux DietPi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux
DATA: /root/.filebot
Package: DEB
License: FileBot License PX8460046 (Valid-Until: 2069-06-29)
Done ヾ(@⌒ー⌒@)ノ
[email protected]:/mnt# 
I can see from here that there are some errors could those be whats causing the issue?

User avatar
The Source
Posts: 16419
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: Permission Issue

Post by rednoah » 01 Jul 2019, 08:35

This is a operating system permission issue most likely completely unrelated to FileBot:

Code: Select all

FileSystemException: /mnt/samba/Movies/Toy Story Collection/Toy Story 2 (1999).mp4: Operation not permitted

I'd start by doing things that can't not work, such as processing files in my home directory, to confirm that FileBot is working correctly, and then trying things step by step until you find exactly what's working and what's not, and that might give you a a hunt on how to make things work.

You'll likely need to adjust server-side permissions on the SMB server, or maybe just configure your Pi to mount the SMB remote file system with a different user, permissions, etc.
:idea: Please read the FAQ and How to Request Help.

Post Reply