11-06-2017, 03:28 AM
I do not believe there is a problem with the current script from what I've seen. I think that the issue in this case was caused by a temp file not being removed properly or by the inability to write a new file for the HTML output. Generally, a reboot should have solved such issue since /temp clears on reboot.
The created files should have read and write permissions only by the user who's executing the Updates. It was written as such to prevent other users/processes from writing something into the created temp files as updates are executed, so users don't end up executing and installing something other than the listed updates.
The easiest way to see what happens when checking for updates is to open /tmp in Thunar, run Updates and watch it create temp files with the correct permissions for the user, as well as the removal of those files after updates exits out either when updates are installed or canceled before installation.
The created files should have read and write permissions only by the user who's executing the Updates. It was written as such to prevent other users/processes from writing something into the created temp files as updates are executed, so users don't end up executing and installing something other than the listed updates.
The easiest way to see what happens when checking for updates is to open /tmp in Thunar, run Updates and watch it create temp files with the correct permissions for the user, as well as the removal of those files after updates exits out either when updates are installed or canceled before installation.
https://unlockforus.com
Sorry for seeming stupid and preferring Linux - I just don't know any better.
Sorry for seeming stupid and preferring Linux - I just don't know any better.
![[Image: AGxgqJ6.png]](http://i.imgur.com/AGxgqJ6.png)