New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error copying file: "Permission denied" #1534
Comments
Did you look a the the path in question with Finder? What do the permissions say? This sounds like it's an OS permission issue, not an OSXPhotos issue. If the permissions appear to be correct (maybe try copying the file manually from the command line in Terminal to verify) then I'll see if there's some debugging I can suggest. |
Thanks. Seems like it's indeed my mistake. I thought I checked it already, but I was foolish enough to forget quotations marks which is required due to the space in The file is there but its permissions is set to user Is there a standard recommended permissions for Apple Photos? Does Apple Photos have a "repair permissions" process like the old iPhoto?
|
I don't know of a specific repair permissions option for Photos outside of the full repair Photos library but I don't think you need to do that. I suspect it's an issue with permissions on the target volume. My permissions look the same:
As long as user can read you should be able to copy the files. Does the target destination have permissions set correctly? |
Some of the files in the target folder 2024-04-19 were set as |
Did you accidentally run an export under sudo? |
Possibly, I’ve been playing with getting a LaunchDaemon to work using several scenarios. |
I'm running two osxphotos commands one after the other as follows:
This is osxphotos-originals.toml:
And this is osxphotos-mobile.toml:
The execution of the
originals
script seems to go by fine.For some reason, I'm failing with
permission denied
for a specific folder during the second execution for themobile
export:The text was updated successfully, but these errors were encountered: