Error: EPERM, operation not permitted with Node.js and Etherpad Lite

Make sure the user identity associated with the IIS application pool running your node.js application has appropriate filesystem permissions to the location where you deployed your application (looks like c:\users\matthew in this case).

If you are running your app within the Default App Pool and using default IIS user, you should be able to grant necessary permissions with:

%systemdrive%\windows\system32\icacls.exe c:\users\matthew /grant IIS_IUSRS:(OI)(CI)F


Case

Error: EPERM, operation not permitted 'C:\Users\Matthew'

This error occour because the user IIS_IUSRS, does not have access to this folder C:\Users\Matthew

Resolution

You can put your application on a 'public folder', example: 'C:\Test\[yourapplication]' and gives access to user IIS_IUSRS only to this folder.