You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some extraction tools ignore the 0600 (f.ex., Archive Utility on the Mac), while others take it literally (funnily enough, f.ex., Safari's "Open 'safe' files after downloading") If it is kept, file managers may prevent access, which is annoying. For example, here's a directory at 0600:
I've also reproduced the same problem when downloading the artifact on Ubuntu.
This is not related to the chmod at time of upload; for instance, I added a chmod -R 0777 to the output before uploading it, and it had no effect.
The zips should be created without capturing permissions, or at least with a permission of 0644 if it is being set somehow.
The text was updated successfully, but these errors were encountered:
Oh wow, this is… not good. I was using artifacts to capture an application bundle. Upon decompressing the zip, every file in the bundle has been modified to have perms of 0600.
Two things:
There should be a documented warning somewhere with this action.
The action shouldn't touch the permissions of the files it is archiving.
This action isn't usable for the use case of capturing executables or complex bundle structures while this limitation exists.
Some extraction tools ignore the 0600 (f.ex., Archive Utility on the Mac), while others take it literally (funnily enough, f.ex., Safari's "Open 'safe' files after downloading") If it is kept, file managers may prevent access, which is annoying. For example, here's a directory at 0600:
I've also reproduced the same problem when downloading the artifact on Ubuntu.
This is not related to the chmod at time of upload; for instance, I added a
chmod -R 0777
to the output before uploading it, and it had no effect.The zips should be created without capturing permissions, or at least with a permission of 0644 if it is being set somehow.
The text was updated successfully, but these errors were encountered: