A system error occurred (EACCES: permission denied, mkdir code example
Example: NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/var/www/html/index.html'
$ sudo chown -R <user-name> <directory-name>
$ sudo chown -R <user-name> <directory-name>