user home dir operation not permitted
wangzh1010 opened this issue · 1 comments
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
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.