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
hdiutil create
fails with permission denied on file in DMG target, only on some machines
#252
Comments
I was able to recreate it with an isolated
But when I moved that lib dir around and re-copied it in to the source2 directory, the error went away.
Re-created the test dir again:
And yep, the error happens again.
That I don't see any difference between these files and directories. Same file contents, same order in the directories, same permissions AFAICT. Maybe it's an extended attribute (xattr) difference of some sort?
But xattrs look the same too:
|
Hmm. I tried clearing the xattrs on my source dir, but that didn't seem to work. Doesn't seem like I can clear the com.apple.provenance xattr at all. And the error is still happening when I ran that. And there's the same xattr on the source2 which is working. So maybe it's not this xattr.
|
Hmm. Doing a tar on these files is resulting in a "failed to restore metadata" error. That sounds xattr-ish. A sudo fixes it. Maybe the
Yeah... adding I'm not a fan of this, but maybe we just need to sudo the |
Added Need to add a |
Hasn't recurred recently. I think the sudo did fix it. Changing this ticket's milestone from 8.4.0 to The Future, since all that's left is probably adding the |
I'm now doing the AS build on a different machine, scone, and I'm getting some "permission denied" errors during the DMG creation. In the
hdiutil create
command for the "create interstitial DMG" step. (I switched to scone since eilonwy was having problems.)Blocking #243.
TODO
--no-sudo
option to skip the new sudo behavior.Description
I do not know what's going on here.
Diagnosis
I've run it a few times, and the error is always on that same file,
usr/Cellar/pstoedit/3.78/lib/pstoedit/libp2edrvlplot.so
.It's talking about a location under
/Volumes
and thatOctave 8.4.0_beta1
is the name of the volume in the DMG, so I think it's talking about the target location in the mounted DMG there. Once this error happens, I don't see any mounted DMGs under/Volumes
, so I can't examine it to e.g. look at the file permissions in the DMG's file system.Permissions on the source for that file seem normal. It's a symlink pointing to an extant file next to it. I can read it.
Progress summary
References
The text was updated successfully, but these errors were encountered: