Skip to content

Cannot create hard link on bind mounts in 1.7.1 #1424

Description

@bryanforbes

Describe the bug

After upgrading to 1.7.1, I cannot create hard links on the same bind mount

To Reproduce

  1. docker run --platform linux/arm64 -ti --rm -v /tmp:/host-tmp ubuntu /bin/bash
  2. touch /host-tmp/blah
  3. ln /host-tmp/blah /host-tmp/foo

Result:

ln: failed to create hard link '/host-tmp/foo' => '/host-tmp/blah': Invalid argument

Expected behavior

No error and the hard link is created (both on the host and in the container)

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.7.1
Commit: 08933e123525fab7eccce094ac98501498417c74 (v1.7.1)

System info:
macOS: 14.5 (23F79)
CPU: arm64, 10 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,1
Memory: 16 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-09-02T17-57-45.174514Z.zip

Screenshots and additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions