Mac permissions

I recently updated the app (12 Sep) and I haven't been able to change the filenames since. This is the error I'm seeing

I've tried opening the folder using ⌘O and also opening the app with root (sudo open "/Applications/Mp3Tag.app", and also changing the permissions of the files themselves.

Please advise!

Have a look at this thread and see your problem is similar:

Also, a search for "secure bookmarks" in the forum may lead to more threads.

Can you try this command via Terminal.app while Mp3tag being closed:

defaults delete app.mp3tag.Mp3tag SecurityScopedBookmarks

After that, load the folder (not the individual files) via ⌘O and see if the issue persists.

I’m a newbie here and have this problem. I don’t see any further discussion and I tried your suggestion. No change. Ventura 13.6.4

Is this with a local drive?

Yes, this is with the local SSD storage.

Can you double-check that you've loaded the folder (not the individual files) via ⌘O after running the above-mentioned command from Terminal.app?

If the problem still persists, BackLog is an option to get a more detailed insight into what might be causing the issue. Please set the process to Mp3tag and include all events that are not directly created by this binary.

The idea of this is to gather some information on what's causing the issue.

Sorry for the delay. The source track is in /Ben Folds/Way to Normal/You Don't Know Me.

The convert string is //$left(%itunespurchasedate%,10)/%ARTIST%/%ALBUM%/$num(%TRACK%,2) %TITLE%

3 attempts - first with // FAIL, second with / FAIL, third in same directory COMPLETE

2024-03-05 15:57:39.670-0500 -- Mp3tag (Mp3tag) -- Error creating secure bookmark from : Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/use2bx/Music/2%20InProcess/, NSDebugDescription=Could not open() the item}
2024-03-05 15:58:33.099-0500 -- Mp3tag (Mp3tag) -- You don’t have permission to save the file “Way to Normal (Deluxe Version)” in the folder “Ben Folds”. (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Way to Normal (Deluxe Version)” in the folder “Ben Folds”." UserInfo={NSFilePath=//2015-05-05/Ben Folds/Way to Normal (Deluxe Version), NSUnderlyingError=0x6000035941b0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}})
2024-03-05 15:58:49.927-0500 -- Mp3tag (Mp3tag) -- You don’t have permission to save the file “Way to Normal (Deluxe Version)” in the folder “Ben Folds”. (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Way to Normal (Deluxe Version)” in the folder “Ben Folds”." UserInfo={NSFilePath=/2015-05-05/Ben Folds/Way to Normal (Deluxe Version), NSUnderlyingError=0x600003585740 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}})

I loaded from Ben Folds

It looks like /Users/use2bx/Music/2 InProcess/ is also involved. Can you close Mp3tag, run this command via Terminal.app while Mp3tag being closed:

defaults delete app.mp3tag.Mp3tag SecurityScopedBookmarks

and load the folder (not the individual files) via ⌘O and see if the issue persists. Please also make sure you're using the latest version Mp3tag for Mac v1.8.17.

Yes. In this test the full path is /Users/use2bx/Music/2.4 InProcess/Emerson Jay/. Eleven tracks in this directory with 2 different 'purchase dates'.

Version is as you specified. used command-O to open the /Emerson Jay/ folder. 2 album subfolders.

Conversion string is /%artist%/%album%/ $num(%track%,2). %title%

2024-03-13 13:17:39.832-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:39.880-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:39.890-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:39.899-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:44.648-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:47.515-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:53.944-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:55.044-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:17:58.641-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:17.282-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:17.841-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:31.252-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:39.319-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:39.861-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:40.726-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:57.026-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:18:59.279-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:19:00.749-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:19:01.096-0400  --  Mp3tag (Mp3tag) -- You don’t have permission to save the file “T H E E P - EP” in the folder “Emerson Jay”. (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “T H E E P - EP” in the folder “Emerson Jay”." UserInfo={NSFilePath=/Emerson Jay/T H E E P - EP, NSUnderlyingError=0x6000010e9500 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}})
2024-03-13 13:19:01.115-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:19:04.637-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor
2024-03-13 13:19:08.804-0400  --  Mp3tag (Mp3tag) -- fgetattrlist failed: #9: Bad file descriptor

The problem with this format string is the leading slash, as this makes every resulting file path starting in the root of your file system (next to, e.g., /Users). You usually (and thankfully) don't have permission to write there.

If you just want to rename below /Users/use2bx/Music/2.4 InProcess/, you can omit the leading slash. Or use something like
/Users/use2bx/Music/2.4 InProcess/%artist%/%album%/ $num(%track%,2). %title%
or
~/Music/2.4 InProcess/%artist%/%album%/ $num(%track%,2). %title%

Thank you. I stand corrected.

Totally misread or misunderstood the explanation of using relative path references instead of absolute.

Unfortunately I am also having this issue.

I have tried running the suggested terminal command, both drag & drop and ⌘O to add folder, and I am also using relative path.

Can you let me know what information you need from me to resolve?

Does the issue happen when renaming via Convert → Tag - Filename? Which format string are you using and what's the error message (screenshot if possible).

Yes.

Format string is:

~/Documents/Transfer/dBp/Raw/$left(%albumartistsort%,1)/%albumartistsort%/%album%/$num(%DISCNUMBER%,2)$num(%track%,2) %title%

Here’s the error:

I don’t know if it’s relevant, but when I applied the defaults delete command in terminal, upon next opening of mp3tag I received no request to access the relevant folder again.

mp3tag does already have access granted in system setting though:

Can you try opening your home directory via ⌘O and then ⇧⌘H with Mp3tag? You can also cancel the reading process, because it would probably take some time.

Then try again.

Yes, that fixed it! A permission request popped up to access Music folder (not in the path I’m trying to use), and after accepting and trying again, all good.

Thanks for your help Florian.

Cheers,
Michael

Excellent, glad it's working now!

The permission request probably popped up because the Music folder is also in your home directory. Mp3tag now has a secure bookmark to move files to every directory inside your home directory.

The folder access in Settings → Privacy & Security unfortunately only applies to non-sandboxed apps, it's slightly confusing.