Skip to content

fix(sdk): Update file permission for linux.bin#455

Open
brunomenezes wants to merge 1 commit intoprerelease/v2-alphafrom
fix/sdk-update-linux-bin-access
Open

fix(sdk): Update file permission for linux.bin#455
brunomenezes wants to merge 1 commit intoprerelease/v2-alphafrom
fix/sdk-update-linux-bin-access

Conversation

@brunomenezes
Copy link
Contributor

Summary

Dockerfile definition change to update the file permission to be 644 rather than 600 for the linux.bin. It fixes a reported error when using the latest CLI (alpha.32) and running cartesi build on an Ubuntu 24.04.4 LTS environment. More details here

The permission changed from sdk alpha.35 forward.

closes #454

@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2026

🦋 Changeset detected

Latest commit: 683154d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@brunomenezes brunomenezes moved this from Todo to Waiting review in Rollups SDK Mar 23, 2026
@github-project-automation github-project-automation bot moved this from Waiting review to Waiting Merge in Rollups SDK Mar 23, 2026
@tuler
Copy link
Member

tuler commented Mar 23, 2026

I don't see what really changed here:

docker run --rm cartesi/sdk:0.12.0-alpha.30 ls -al /usr/share/cartesi-machine/images/
total 17128
drwxr-xr-x 1 root root     4096 Jan 13 02:16 .
drwxr-xr-x 1 root root     4096 Jan 13 02:05 ..
-rw-r--r-- 1 root root 17529704 Jan 13 02:16 linux.bin
docker run --rm cartesi/sdk:0.12.0-alpha.34 ls -al /usr/share/cartesi-machine/images/
total 17128
drwxr-xr-x 1 root root     4096 Feb 16 17:15 .
drwxr-xr-x 1 root root     4096 Feb  5 19:38 ..
-rw-r--r-- 1 root root 17529704 Feb 16 17:15 linux.bin

@brunomenezes
Copy link
Contributor Author

I don't see what really changed here:

docker run --rm cartesi/sdk:0.12.0-alpha.30 ls -al /usr/share/cartesi-machine/images/
total 17128
drwxr-xr-x 1 root root     4096 Jan 13 02:16 .
drwxr-xr-x 1 root root     4096 Jan 13 02:05 ..
-rw-r--r-- 1 root root 17529704 Jan 13 02:16 linux.bin
docker run --rm cartesi/sdk:0.12.0-alpha.34 ls -al /usr/share/cartesi-machine/images/
total 17128
drwxr-xr-x 1 root root     4096 Feb 16 17:15 .
drwxr-xr-x 1 root root     4096 Feb  5 19:38 ..
-rw-r--r-- 1 root root 17529704 Feb 16 17:15 linux.bin

sdk:0.12.0-alpha.34 is the latest with permission 644. Check alpha.35 and above, it became 600. The latest CLI (alpha.32) uses sdk0.12.0-alpha.37.

@tuler
Copy link
Member

tuler commented Mar 23, 2026

Check alpha.35 and above

regression from 66abc5a ?

@brunomenezes
Copy link
Contributor Author

Check alpha.35 and above

regression from 66abc5a ?

I believe so. It was the change we noticed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Waiting Merge

Development

Successfully merging this pull request may close these issues.

3 participants