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
$ mkdir extracted
$ tar zxvf matrix-widget-api-*.tgz -C extracted/
Lots of errors will appear:
package/src/models/validation/utils.ts
tar: package/src/models/validation/utils.ts: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
If you retry the extract command with the --delay-directory-restore flag, it works at first, but a few directories will miss the execute attribute:
It's possible to fix the errors from (6) by adjusting the attributes:
$ find extracted/ -type d -exec chmod a+x {} \;
$ rm -rf extracted/
# works now
Expected behavior
Extraction was expected to work correctly without the need for extra flags and operations, similarly to other projects. For example, matrix-js-sdk:
Describe the bug
The compressed tarball for this package in the Yarn registry has some permission issues preventing it from being correctly extracted.
To Reproduce
Steps to reproduce the behavior:
package.json
file:yarn init -y
yarn add matrix-widget-api
$ mkdir extracted $ tar zxvf matrix-widget-api-*.tgz -C extracted/
--delay-directory-restore
flag, it works at first, but a few directories will miss the execute attribute:Expected behavior
Extraction was expected to work correctly without the need for extra flags and operations, similarly to other projects. For example,
matrix-js-sdk
:Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: