Skip to content

tar extraction ignores symlink issues #1857

@zelosleone

Description

@zelosleone

trying to build https://github.com/bevyengine/bevy will result in

with debug information added:

Processing entry 2632: "bevy-0.16.1/examples/wasm/.gitignore"
Processing entry 2633: "bevy-0.16.1/examples/wasm/assets"
FAILED to extract entry 2633: "bevy-0.16.1/examples/wasm/assets" -> "C:\\Users\\deniz\\source\\repos\\zelosleone\\rattler-build\\output\\src_cache\\bevy-0_16_1_ce5cc626\\.tmpOhBuKe\\bevy-0.16.1/examples/wasm/assets"
Error details: Gereken ayrıcalık istemci tarafından sağlanmıyor. (os error 1314) when symlinking ../../assets to C:\Users\deniz\source\repos\zelosleone\rattler-build\output\src_cache\bevy-0_16_1_ce5cc626\.tmpOhBuKe\bevy-0.16.1/examples/wasm/assets
Entry header: UstarHeader { entry_size: 0, size: 0, path: "bevy-0.16.1/examples/wasm/assets", link_name: Some("../../assets"), mode: 777, uid: 0, gid: 0, mtime: 1748643514, username: Some("root"), groupname: Some("root"), device_major: Some(0), device_minor: Some(0), cksum: 8474, cksum_valid: true }
 │ │
 │ ╰─────────────────── (took 36 seconds)
 │
 ╰─────────────────── (took 36 seconds)
Error:   × Failed to extract archive: Failed to unpack entry 2633: "bevy-0.16.1/examples/wasm/assets" - Gereken ayrıcalık istemci tarafından sağlanmıyor. (os error 1314)
  │ when symlinking ../../assets to C:\Users\deniz\source\repos\zelosleone\rattler-build\output\src_cache\bevy-0_16_1_ce5cc626\.tmpOhBuKe\bevy-0.16.1/examples/wasm/   
  │ assets

but originally, we will get this:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions