Skip to content

[windows] Permission denied when native-mounting folders owned by "NT AUTHORITY\SYSTEM" #2902

@ricab

Description

@ricab

Describe the bug
Multipass can't create native mounts for folders owned by "NT AUTHORITY\SYSTEM". These include the "home folder" on Windows (C:\Users<username>).

PS C:\Users\ricab> multipass mount --type native . test:Home
Please enter your user password to allow Windows mounts:
mount failed: The following errors occurred:
error mounting "Home": Error: mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

To Reproduce

  1. multipass mount --type native "C:\Users\<username>" test:Home

Expected behavior
What did you expect to happen?

Additional Info
I tried with psexec -s, but it then seems unable to request a user password. If I add -i, a console pops up requesting the password, but still fails, the console closing too quickly to read any message that may have appeared. I did not pursue any further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions