GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Linux permissions are ignored when running write operation · Issue #58326 · nodejs/node

Linux permissions are ignored when running write operation #58326

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Linux permissions are ignored when running write operation#58326
Copy link

Description

@Stefan9283
Stefan9283
opened on May 14, 2025
Issue body actions

Version

24.0.1

Platform

x86_64

Subsystem

No response

What steps will reproduce the bug?

Run an image build like so with the attached files

docker build . --progress=plain --no-cache 

reproducer.zip

How often does it reproduce? Is there a required condition?

There is no condition. It manifests itself on every run.

What is the expected behavior? Why is that the expected behavior?

Writing on a readonly file should fail.

What do you see instead?

Here's a file with the output I'm getting.

Additional information

  • Other images I have tested node on (with precompiled binaries): ubuntu:24.04, public.ecr.aws/amazonlinux/amazonlinux:2023
  • Docker Version: 25.0.8, build 0bab007
  • this bug causes the following 2 tests to fail:
    • "should throw an error when the file is non readable" in test/parallel/test-config-file.js
    • "database backup fails when dest file is not writable" in test/parallel/test-sqlite-backup.mjs

Activity

  1. bnoordhuis commented on May 14, 2025

    @bnoordhuis
    bnoordhuis
    on May 14, 2025
    Member
    More actions

    Does it happen outside docker? Docker does some funky overlayfs stuff and doesn't always do it right.

  2. bnoordhuis commented on May 17, 2025

    @bnoordhuis
    bnoordhuis
    on May 17, 2025
    Member
    More actions

    No follow-up and as it's almost certainly a docker bug (not the first time it's been reported) I'm going to go ahead and close this.

  3. bnoordhuis
    closed this as not plannedon May 17, 2025
  4. Stefan9283 commented on May 19, 2025

    @Stefan9283
    Stefan9283
    on May 19, 2025
    Author
    More actions

    Hi! Yes, it seems to be an issue with Docker specifically. I tested it on bare metal and the tests are now behaving as expected. Thank you

    Reacted by Ben Noordhuis
  5. codebytere
    added a commit that references this issue on Jun 2, 2025

    test: disable chmod tests failing in Docker

    734a52f
  6. jkleinsc
    added a commit that references this issue on Jun 2, 2025

    chore: bump node to v22.16.0 (main) (#47217)

    82a59d9
  7. codebytere
    added 10 commits that reference this issue on Jun 3, 2025

    test: disable chmod tests failing in Docker

    018fe0f

    test: disable chmod tests failing in Docker

    981a411

    test: disable chmod tests failing in Docker

    c053118

    test: disable chmod tests failing in Docker

    e047af0

    test: disable chmod tests failing in Docker

    cb9e8bf

    test: disable chmod tests failing in Docker

    9603fb2

    test: disable chmod tests failing in Docker

    c311702

    chore: bump node to v22.16.0 (36-x-y) (#47214)

    63c7215

    test: disable chmod tests failing in Docker

    cd380be

    test: disable chmod tests failing in Docker

    c6a2fa9
  8. codebytere
    added a commit that references this issue on Jun 18, 2025

    test: disable chmod tests failing in Docker

    bd02976
  9. codebytere
    added a commit that references this issue on Jun 30, 2025

    chore: bump node to v22.16.0 (35-x-y) (#47213)

    1ae9a36
  10. kigh-ota
    added a commit that references this issue on Sep 30, 2025

    chore: bump node to v22.16.0 (main) (electron#47217)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.