[OSX] AccessDeniedException: /“ On Copy/Rename

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
BabyWrinkles
Donor
Posts: 2
Joined: 24 Jan 2016, 07:05

[OSX] AccessDeniedException: /“ On Copy/Rename

Post by BabyWrinkles »

I have a script set to mount a network volume (/Media) on the Mac Mini at Login.

Files are saved to a "Staging" sub-folder.

When trying to rename and copy, I get an error stating AccessDeniedException: /“

I've spend 3-4 hours on getting this going today and this was the the last issue to overcome - and the straw that broke Google's back. I ASSUME that means I don't have access to the top level of... something?

The user I set up for access to the volume has full read/write access. I enabled read-write access for every possible user (including anonymous, unauthenticated, etc.) to that volume. I cleared all caches I could find. No matter what I do, I get the same error.

Is there a command I can inject somewhere along the line to run the script as admin? I'm just not 100% sure which file/folder the script doesn't have access to, and every relevant folder I've verified (I think...) that the active user DOES have appropriate permissions to.

One though; this script is running as soon as the torrent finishes downloading, and I have Transmission set to seed to a 2.0 ratio - I'm using copy, (was originally using move, copy is spitting out the same error as evidenced below) but is it possible that the OS somehow has a lock on the file?

Code: Select all

Run script [fn:amc] at [Sat Jan 23 22:36:38 PST 2016]
Parameter: artwork = y
Parameter: clean = y
Parameter: ut_dir = /Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]
Input: /Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]/The.Brink.S01E08.720p.HDTV.x264-BATV.mkv
Exclude: /Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]/RARBG.com.txt
Exclude: /Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]/the.brink.s01e08.720p.hdtv.x264-batv.nfo
Group: [tvs:the brink] => [The.Brink.S01E08.720p.HDTV.x264-BATV.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [The Brink]
Fetching episode data for [The Brink]
Fetching episode data for [The Brink of Law]
[COPY] Rename [/Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]/The.Brink.S01E08.720p.HDTV.x264-BATV.mkv] to [/“/Volumes/Media”/TV Shows/The Brink/Season 01/The Brink - S01E08 - Who's Grover Cleveland.mkv]
[COPY] Failed to rename [/Volumes/Media/Staging/The.Brink.S01E08.720p.HDTV.x264-BATV[rarbg]/The.Brink.S01E08.720p.HDTV.x264-BATV.mkv]
AccessDeniedException: /“
Finished without processing any files
Failure (°_°)
Contents of SysInfo

Code: Select all

FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (/opt/homebrew-cask/Caskroom/filebot/4.6.1/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_72
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 161 MB Used Memory
OS: Mac OS X (x86_64)
Package: APP
Data: /Users/schripsemas/.filebot
uname: Darwin Schripsemass-Mac-mini.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [OSX] AccessDeniedException: /“ On Copy/Rename

Post by rednoah »

This looks very wrong:

Code: Select all

/“/Volumes/Media”/TV Shows/The Brink/Season 01/The Brink - S01E08 - Who's Grover Cleveland.mkv
Clearly, is not a folder name. NEVER EVER use weird characters like “ ” or any other character that is not on the keyboard. " " and “ ” is NOT the same.

EDIT:

I've updated the command-line noob primer: viewtopic.php?f=4&t=1899
:idea: Please read the FAQ and How to Request Help.
BabyWrinkles
Donor
Posts: 2
Joined: 24 Jan 2016, 07:05

Re: [OSX] AccessDeniedException: /“ On Copy/Rename

Post by BabyWrinkles »

Thank you. I really just needed a second set of knowledgeable eyes I guess. I'd misunderstood the original instructions as needing the " " around my output PATH to identify the location. Dropped those, and it's working like a freakin' champ.

Your level of support for this free service is insane. Thank you. Bought the App through the App Store, and just PayPal'd you a little something extra.
Post Reply