Hi there,
i found a strange error while scripting on my svn server.
I'm using LuaRT scripts for my svn-hooks and i found an error where Directory:make()
can't create a folder.
While trying around i got the same error with Notepad++ (NppExec Plugin) when executing the script.
The reason in Notepad++ was that i don't Follow $(CURRENT_DIRECTORY)
(in the plugin settings) and in this case my sys.currentdir
was the installation path from Notepad++, btw. the path from the executable Notepad++.exe
.
So, if i'm not on the same drive, where i wan't to create a folder, you get an Permission denied
error from sys.error
.
Try this:
If you change sys.currentdir = "D:\\Temp"
before calling dir:make()
it works as expected.
If you need more information, or a better description, just tell me :-)
Greetings