You might be able to fix this by resetting podman or just removing those directories with error and run podman init again.

On Tuesday, November 15, 2022 at 11:02:38 PM GMT+3:30, Mehdi Haghgoo via Podman <podman@lists.podman.io> wrote:


Have you previously run podman init as administrator first time before trying to run it as normal user?

It seems a directory permissions error to me. Maybe caused by the dirs first having been created by Aministrator. 

On Tue, Nov 15, 2022 at 22:54, Jochen Wiedmann
<jochen.wiedmann@gmail.com> wrote:
Hi,

for your info, and for the record:

having installed podman-desktop 0.9.1 on a Windows 10 machine, I
couldn't initialize it, due to the error message

    mkdir C:\Users\jwi\.local\share\containers\podman: Access is denied.

Workaround has been as follows:

1.) Execute the command

          podman machine init

    as a non-privileged user (myself) failed with the same error.
2.) Execute the command

          mkdir C:\Users\jwi\.local\share\containers\podman

    as a privileged user (Administrazor) worked.
3.) Repeating the "podman machine init" command as an unprivileged user
      works now, and Podman can be started.

What's suprising for me: I would have expected, that I should be able
to create a directory, that is located within my own home directory?

Jochen

--
Philosophy is useless, theology is worse. (Industrial Disease, Dire Straits)
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io