octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60912] Installing with installer corrupts per


From: Arthur Tacca
Subject: [Octave-bug-tracker] [bug #60912] Installing with installer corrupts permissions on temporary directory (temp / tmp)
Date: Tue, 13 Jul 2021 08:25:34 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Follow-up Comment #2, bug #60912 (project octave):

* Sorry, you're right that I have confused the user TEMP with system TEMP. In
fact system TEMP (and TMP) is still set to its default of "%SystemRoot%\TEMP".
I have changed the user TMP (and TMP) to D:\data\temp (from its default of
%USERPROFILE%\AppData\Local\Temp). So of course it makes sense it only has
normal user permissions.

* Because I ended up installing Octave twice, there was very little in the
second temp broken temp directory. There were a couple of files relating to
Word and Outlook, an empty "PhotoCache" directory, and ... the uninstaller for
Octave "D:\data\temp_2\~nsuA.tmp\Un_A.exe". After fixing permissions on the
temp directory itself, only that uninstaller had its own individual
permissions error.

* Looking at the security dialog for affected directories, the problem seems
to have something to do with permission type "Deny" and user "NULL SID". A
quick Google points the finger at Cygwin. The results also suggest that the
"incorrect order" is a result of Cygwin, but that it is intentional even
though Explorer doesn't like it.

The last point explains why the permissions are a bit odd, but not why they
are so broken that I can't read the files (which doesn't seem to be a commonly
reported symptom) or why they were also changed on the temp directory itself
(which wasn't created by the uninstaller). Maybe Cygwin + UAC elevation is a
bad combination, but then (as you said) why isn't it affecting other people?
Maybe the default temp directory has some extra protections? I'll try to do
some more experiments later.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60912>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]