It is not the current working directory; the file is in a directory which is under the current working directory.
Also, the explicit exception:
"Permission denied: Operating system error" with call stack:
file_unlink RAW_FILE FILE
delete RAW_FILE FILE
delete_content DIRECTORY DIRECTORY
This is on the call to file.delete at these lines from {DIRECTORY}.delete_content:
if file.exists and then file.is_writable then
file.delete
end
Is this a problem with DIRECTORY or what am I missing? If my file is still in use by some program [which I believe could only be the current system] then shouldn't `is_writable' return false?
jjj
--- In
[hidden email], "Alexander Kogtenkov" <kwaxer@...> wrote:
>
> Jimmy J. Johnson wrote:
>
> > Is there anything else my system might be doing to hold the file [or directory]?
>
> If the directory to be deleted is the current working directory, it cannot be deleted as well.
>
> Alexander Kogtenkov
>