I am unable to delete files (or move them to a remote) on a LOCAL drive. All the permissions are correct, I can easily delete the file(s) in any other program (Windows File Explorer, Altap Salamander), but in WinSCP I receive:
System Error. Code: 5.
Access is denied
However, when I copy the file to remote, delete it in external program and then copy the file back from the remote, I _can_ delete the file. However, the permissions are identical (I have specifically set the parent folder's permissions to Everyone: Full Control). Running WinSCP as Administrator does not help.