Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user home dir operation not permitted #64

Open
wangzh1010 opened this issue Apr 26, 2022 · 1 comment
Open

user home dir operation not permitted #64

wangzh1010 opened this issue Apr 26, 2022 · 1 comment

Comments

@wangzh1010
Copy link

while i install pm2-installer success, i run my progress with an admin command line interface. i try to create a dir C:\Users\wowo\Documents\VideoCopilot, then i receive an error Error: EPERM: operation not permitted, mkdir 'C:\Users\wowo\Documents\VideoCopilot'.

so is this a bug ? or Window's security policy ?

thanks for any help

@TomMiller-mas
Copy link

bug. I think it is a problem with the "service wrapper" exe.
C:\ProgramData\pm2\service\daemon\pm2.exe
That really isn't the pm2 program. Windows requires the exe to be flagged as a service or it can't be run as a service.
This program is flagged as a service and then uses the configuration files found in the same directory to actually run the program you want that isn't flagged as a service. So far, this seems to be the cause of the error you are seeing. I am getting it two and several other tickets have the same error, just for different reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants