files generated by gradle can not be deleted any more

This is for discussing general topics about how to use VirtualBox.
Post Reply
Colibri
Posts: 5
Joined: 29. Mar 2024, 17:01

files generated by gradle can not be deleted any more

Post by Colibri »

I have installed virtualbox 7.0.4 on windwos11 and installed ubuntu22.04 client in virtualbox.

I have a share folder but when I run gradle build in linux, most of time it works, but sometimes, I saw some files generated by gradle can not be deleted any more (both windows and linux can not delete it).

e.g.

rm -rf SonarQube
rm: cannot remove 'SonarQube/.gradle/buildOutputCleanup/outputFiles.bin': Operation not permitted

$ ls -la SonarQube/.gradle/buildOutputCleanup/outputFiles.bin

-rwxrwx--- 1 root vboxsf 26615 Apr 27 17:06 SonarQube/.gradle/buildOutputCleanup/outputFiles.bin

But I can move the folder successfully.
I do the same in linux filesystem, do not saw such issue. so I guess something wrong from share folder!
Post Reply