The `mv` also failed, with the same error message. Googling for that problem didn't really help, but all the solutions used Finder instead of the terminal. I tried using Finder's Get Info to see if that gave me anything extra. Turns out all the files I downloaded were locked, which doesn't show up in an 'ls -al' command. The top response on this <http://superuser.com/questions/40749/command-to-unlock-locked-files-on-os-x> page worked perfectly, and the import was successful! Thanks for your help Adrian!
On Monday, 20 February 2017 23:07:12 UTC-5, Adrian Sampson wrote: > > That's odd! My only other guess is a read-only file system, but that seems > unlikely if it has your home directory on it. > > Have you tried using a plain `mv` from the terminal to see if you can get > the same error manually? > > Adrian > > On Feb 20, 2017, at 10:40 PM, Alan Cranbury <[email protected] > <javascript:>> wrote: > > That's a good thought, here's the results of that, both look alright(I > think). I also tried chmod -R 777ing the beets/music directory, but that > didn't help either. > > Alans-MacBook-Pro:~ alan$ ls -al beets/music/Imagine\ Dragons/Night\ > Visions/ > > total 134928 > > drwxr-xr-x 5 alan staff 170 20 Feb 22:32 *.* > > drwxr-xr-x 3 alan staff 102 20 Feb 19:53 *..* > > -rwxr-xr-x 1 alan staff 23025788 20 Feb 22:30 *01 Radioactive.1.flac* > > -rwxr-xr-x 1 alan staff 23025788 20 Feb 22:32 *01 Radioactive.2.flac* > > -rwxr-xr-x 1 alan staff 23025788 20 Feb 19:53 *01 Radioactive.flac* > > Alans-MacBook-Pro:~ alan$ ls -al Downloads/Imagine\ Dragons\ -\ Night\ > Visions\ \[UK\ Deluxe\ Edition\]\ \(2013\)\ -\ FLAC/ > > total 1118440 > > drwxr-xr-x 27 alan staff 918 3 Mar 2015 *.* > > drwx------+ 40 alan staff 1360 20 Feb 19:36 *..* > > -rwxr-xr-x 1 alan staff 23025788 3 Mar 2015 *01. Radioactive.flac* > > -rwxr-xr-x 1 alan staff 24114298 3 Mar 2015 *02. Tiptoe.flac* > > -rwxr-xr-x 1 alan staff 30256606 3 Mar 2015 *03. It's Time.flac* > > -rwxr-xr-x 1 alan staff 20014289 3 Mar 2015 *04. Demons.flac* > > -rwxr-xr-x 1 alan staff 22230268 3 Mar 2015 *05. On Top of the > World.flac* > > -rwxr-xr-x 1 alan staff 30810051 3 Mar 2015 *06. Amsterdam.flac* > > -rwxr-xr-x 1 alan staff 29689756 3 Mar 2015 *07. Hear Me.flac* > > -rwxr-xr-x 1 alan staff 26898022 3 Mar 2015 *08. Every Night.flac* > > -rwxr-xr-x 1 alan staff 25553031 3 Mar 2015 *09. Bleeding Out.flac* > > -rwxr-xr-x 1 alan staff 26754739 3 Mar 2015 *10. Underdog.flac* > > -rwxr-xr-x 1 alan staff 61176474 3 Mar 2015 *11. Nothing Left to > Say , Rocks.flac* > > -rwxr-xr-x 1 alan staff 30647595 3 Mar 2015 *12. Cha-Ching (Till We > Grow Older).flac* > > -rwxr-xr-x 1 alan staff 30289441 3 Mar 2015 *13. Working Man.flac* > > -rwxr-xr-x 1 alan staff 19370282 3 Mar 2015 *14. My Fault.flac* > > -rwxr-xr-x 1 alan staff 24657928 3 Mar 2015 *15. Round and > Round.flac* > > -rwxr-xr-x 1 alan staff 27089018 3 Mar 2015 *16. The River.flac* > > -rwxr-xr-x 1 alan staff 30750196 3 Mar 2015 *17. America.flac* > > -rwxr-xr-x 1 alan staff 30194756 3 Mar 2015 *18. Selene.flac* > > -rwxr-xr-x 1 alan staff 32704097 3 Mar 2015 *19. Cover Up.flac* > > -rwxr-xr-x 1 alan staff 26118859 3 Mar 2015 *20. I Don't Mind.flac* > > -rwxr-xr-x 1 alan staff 3652 3 Mar 2015 *Imagine Dragons - > Night Visions [UK Deluxe Edition].cue* > > -rwxr-xr-x 1 alan staff 21070 3 Mar 2015 *Imagine Dragons - > Night Visions [UK Deluxe Edition].log* > > -rwxr-xr-x 1 alan staff 1331 3 Mar 2015 *Imagine Dragons - > Night Visions [UK Deluxe Edition].m3u* > > -rwxr-xr-x 1 alan staff 162204 3 Mar 2015 *Imagine Dragons - > Night Visions [front].jpg* > > -rwxr-xr-x 1 alan staff 61423 3 Mar 2015 *folder.jpg* > > > > > > On Monday, 20 February 2017 21:25:22 UTC-5, Adrian Sampson wrote: >> >> Is there any chance the Unix permissions are just wonky on the source or >> the destination directory? You can try: >> >> $ ls -la '/Users/alan/Downloads/Imagine Dragons - Night Visions [UK >> Deluxe Edition] (2013) - FLAC/' >> $ ls -la '/Users/alan/beets/music/Imagine Dragons/Night Visions/' >> >> > On Feb 20, 2017, at 8:01 PM, Alan Cranbury <[email protected]> >> wrote: >> > >> > Hi, I've been struggling with a strange error importing files into my >> beets library. >> > >> > Error: Operation not permitted while moving >> /Users/alan/Downloads/Imagine Dragons - Night Visions [UK Deluxe Edition] >> (2013) - FLAC/01. Radioactive.flac to /Users/alan/beets/music/Imagine >> Dragons/Night Visions/01 Radioactive.flac >> > >> > >> > I'm on macOS Sierra 10.12.3, and my first thought was that SIP was >> interfering, so I disabled it. I still get the error despite that. I tried >> installing python3 and using that version of beets, but that still results >> in the same error. I can't remember the last time this worked, but it was >> definitely a while ago (ran into the same problem and gave up then). It >> doesn't matter which album, or how many in a single import I do, I always >> get this same error. >> > >> > Is there anything I can do to figure out why exactly this is happening? >> Has anyone seen this before? >> > >> > Thanks >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "beets" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- > You received this message because you are subscribed to the Google Groups > "beets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "beets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
