droid
droid copied to clipboard
Profile in %USERPROFILE%\.droid6\profiles not deleted after use (V6.5)
In V6.4, whether I use the command line or GUI, the profile in %USERPROFILE%.droid6\profiles is deleted after the command completes or I close the GUI. I found that in V6.5, the profile retains. I do not find the description of this change in the change log. Is this a bug?
Hi @David-hkt I have tried running GUI as well as CLI and I was unable to reproduce it. For both, the profile folders created were correctly deleted. My OS is Ubuntu 20.04.2 LTS
Could you please detail the steps you had taken? Is the profile retained because the files have been opened in some other tools? Details of OS, permissions on folders would be good to know.
Thanks,
@sparkhi I tested on Win10 Pro version 20H2 (bare metal) and Windows server 2016 (VM). I further tested the GUI (running droid.bat), without adding any file, but just close it. The profile is still there. The accounts I used on the 2 windows are administrator accounts.
Same issue here, reproducible on RHEL8 & Windows Server 2016 with Command Line Tool
I have explored this further and found different behaviours on different OSs (Maybe related to JRE in use?)
On my Ubuntu 22.04, It works fine,
however on Windows 10 it does not
. The reason why it fails to delete the profile on Windows 10 is due to an underlying error complaining that the profile database is still in use when the profile is closed. It appears that closing the profile does not release references to some of the files (the database files) and does not delete the profile database.
I've tried this on CentOS 7 with Java 11 and it works fine
on CentOS as well.
So far, I know for sure that this bug exists for Windows and Mac