Discussions related to Visual Prolog
dcgreenwood
Active Member
Posts: 25
Joined: 16 Jan 2021 1:33

Errno=13 (permission Denied)

Post by dcgreenwood »

I have not run VP for a few years. I've started working again on my project, which is in VP9. I have bought V11, but not ready to go through the conversion process yet. When I try to Rebuild All, I now get a error "Cannot create file '(path)',errno=13 (Permission denied). LastError 32. The path shows that it is trying to create the main exe for the project. The path shows a OneDrive path (I did not have OneDrive when I last ran VP). I thought that this had something to do with the API not having write permissions to Onedrive, so I made a copy of the project on a volume that is not backed up to OneDrive - but I have the same problem. Help!
User avatar
Thomas Linder Puls
VIP Member
Posts: 1494
Joined: 28 Feb 2000 0:01

Re: Errno=13 (permission Denied)

Post by Thomas Linder Puls »

I am almost certain that the problem is that your program is running.

While a program runs it is not possible to write the new program. So you must terminate your program. If it doesn't terminate itself, you will have to kill it in the task manager.
Regards Thomas Linder Puls
PDC
Harrison Pratt
VIP Member
Posts: 468
Joined: 5 Nov 2000 0:01

Re: Errno=13 (permission Denied)

Post by Harrison Pratt »

A side comment here:

I build VP projects in OneDrive folders without much problem, although sometimes it seems to delay file access and I pause synching the files in the OneDrive settings to avoid that.

Using GIT in OneDrive can cause problems by (apparently) not releasing files for GIT to delete when compacting the .git directory objects. Many people recommend not doing development on OneDrive folders when using GIT.