Skip to content

Dismiss the use of symlinks on Windows #1397

@rcsilva83

Description

@rcsilva83

I think it would be a huge security enhancement if Volta didn't make use of symlinks on Windows. Microsoft discourages the use of symlinks, for security reasons, and Developer Mode (which is recommended by Volta) enables much more than just symlinks, many of them are undesirable.

It looks like the main Volta logic is implemented by code and the symlink could be easily replaced by a call to volta-shim. Actually, I made a test replacing rimraf's symlink by a renamed copy of volta-shim and it worked.

If this issue makes sense for the Volta team, I can start working on a PR with this implementation.

PS: this idea came from #964

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