scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Unable to delete with Origin

Open danb2090 opened this issue 7 years ago • 4 comments

Expected behavior

Delete Container

Actual behavior

Unable to delete file 'Qt5WebEngineCore.dll' (screenshot attached below) delete container error

Steps to reproduce

  1. In 'Apps' I installed the program 'Origin - Legacy'
  2. After 'Origin' was installed I went to 'Containers' tab
  3. Deleting 'Origin' failed with error

System information

  • software version (git revision) of phoenicis and scripts repositories git revision: ded3f97725ad3f4579626c6d17bb7ae8ba671555
  • used operating system Manjaro 17.1.8 KDE
  • used Java version jdk8-openjdk 8.u162-2 java-openjfx 8.u172-1

danb2090 avatar Apr 26 '18 23:04 danb2090

Can you check if the file has any special file permissions?

plata avatar Apr 27 '18 13:04 plata

Hi plata, here is the output I get when running the command 'ls -l Qt5WebEngineCore.dll'

-r-xr-xr-x 1 daniel daniel 54063616 Apr 28 10:21 Qt5WebEngineCore.dll

It looks like I have no write permissions for this file or they were not inherited correctly.

danb2090 avatar Apr 28 '18 01:04 danb2090

Just checked Origin test results on WineHQ AppDB. It say's

After window disappears, origin folder became read-only for some reason, and that's why it can't update.

So it seems like this error affects particularly the Origin script. Therefore it should better be tracked in the scripts repository (just a general remark, no need to change it now).

Apparently, the file permissions are changed after the installation, so the installer script cannot do anything. The only idea I can think of currently is to change file permissions right before the container is deleted. This would have to be done in GenericContainersManager#deleteContainer (probably using setPosixFilePermissions).

plata avatar Apr 28 '18 12:04 plata

@madoar @qparis @ImperatorS79 do you think this is something we should handle or should it rather be fixed in Wine?

plata avatar Jun 04 '19 18:06 plata