Can't open files in Business Application Studio

514 Views Asked by At

Every time I try to open a file in my project, I get the following error in the console (e.g. Detail.view.xml):

Uncaught (in promise) Error: Unable to read file 'my-project/webapp/view/Detail.view.xml' (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/home/user/projects/my-project/webapp/view/Detail.view.xml')

I set up the workspace and imported an existing project using a zip file. I can create and open new files in the directory but the already existing "old" files cannot be opened.

1

There are 1 best solutions below

0
On BEST ANSWER

It appears that there was no authorization to open the imported files. It can be fixed from the console.

chmod 777 -R /ui5folder