Choose file default location in macOS 10.15 Catalina

I’ve encountered a strange thing in macOS 10.15 Catalina:

choose file default location (path to pictures folder)

This works perfectly in macOS 10.14 but in 10.15 it gives an error:

error “Can’t make alias … into type alias.” number -1700 from alias … to alias.

Either I’m missing something or I have found a bug. Thoughts?

My guess would be a new permission requirement.

No, I think it’s an issue with paths more generally in 10.15.


POSIX path of path to desktop



That extra colon is likely to wreak havoc.

Yes, the extra colon has to be removed in your script. I hope Apple fixes it.