Skip to content

Expo EAS build "tar: ... " Cannot open: Permission denied #3319

@LucaL1fe

Description

@LucaL1fe

Build/Submit details page URL

https://expo.dev/accounts/lucal1fe/projects/rewardpoints/builds/74e372b1-bc28-4509-9b2a-b15529bc640e

Summary

[Android] Build fails with "Permission denied" for image assets

Summary

Android builds are failing with tar: Cannot open: Permission denied errors for all images in a specific assets directory. iOS builds work without any issues.

Environment

  • OS: Windows
  • Build Platform: Android
  • Build Tool: EAS Build

Command Used

eas build --profile development --platform android --clear-cache

Error Message

tar: assets/images/das_isser_der_raccoon_fuers_leben/basis_image_with_eyes.png: Cannot open: Permission denied

This error occurs for all images in the assets/images/das_isser_der_raccoon_fuers_leben/ directory.

Any guidance on resolving this would be greatly appreciated!

Image

Managed or bare?

Managed

Environment

expo-env-info 2.0.8 environment info:
System:
OS: Windows 11 10.0.26200
Binaries:
Node: 22.16.0 - C:\Program Files\nodejs\node.EXE
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ~53.0.25 => 53.0.25
expo-router: ~5.1.10 => 5.1.10
expo-updates: ~0.28.17 => 0.28.17
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
react-native: 0.79.6 => 0.79.6
react-native-web: ~0.20.0 => 0.20.0
Expo Workflow: managed

16/17 checks passed. 1 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.

✖ Check that packages match versions required by installed Expo SDK
The following packages should be updated for best compatibility with the installed expo version:
@sentry/react-native@7.7.0 - expected version: ~6.14.0
@shopify/react-native-skia@2.4.6 - expected version: v2.0.0-next.4
react-native-reanimated@3.19.4 - expected version: ~3.17.4
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice:
Use 'npx expo install --check' to review and upgrade your dependencies.
To ignore specific packages, add them to "expo.install.exclude" in package.json. Learn more: https://expo.fyi/dependency-validation

1 check failed, indicating possible issues with the project

Error output

tar: Cannot open: Permission denied

Reproducible demo or steps to reproduce from a blank project

Sorry I can not provide 🙈

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions