Skip to content

Caching from a read-only base folder is impossible due to safe_copy copying the permissions bits #15374

Closed
@RaitoBezarius

Description

@RaitoBezarius

I'm using Nix to install emscripten (2.0.27) and the folder where it is installed is read-only (and immutable), therefore, whenever I try to use the cache setup to ~/.cache/emscripten, it fails as: safe_copy uses shutil.copy rather than shutil.copyfile.

The issue is rather similar to mkdocs/mkdocs#1292 ; making it impossible to run embuilder build SYSTEM and compiles something.

Would that be possible to use shutil.copyfile or ensure that copied files have +w when caching is performed?

Thanks!

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