🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265202

Re: [40-tude Dialog] Archival of existing installation

#265202
From: VanguardLH
Date: Fri, 08 Oct 2021 18:31
38 lines
3054 bytes
Bernd Rose <b.rose.tmpbox@arcor.de> wrote:

> I hope, you didn't install Dialog into "C:\Program Files (x86)" or a
> similar protected folder? Else, this would be the cause of your
> Dialog installation corruption.

Yep, bad idea.  Microsoft decided to protect the program folders
(C:\Program Files [x86]), so writing data files there by non-elevated
programs is not just no longer recommended, but results in problems
writing data there.  That's why the Roaming, Local, and LocalLow data
folders showed up under your Windows profile folder (%userprofile%).

If you look at the permissions on the C:\Program Files folder, for
example, you won't find your account listed.  Instead your account is
included under the Users security group.  The Users group does NOT have
full control over this folder, or its children (subfolders).  It only
had Read & Execute, List folder contents, and Read permissions, but not
Write permissions.  That is how those folders are protected: user
processes cannot write there.

You would have to take ownership of that folder, and propagate ownership
to all it subfolders.  Then either change permissions on the Users group
to Full Control, or add your Windows account with it having Full Control
for permissions, and then propagate those permission changes to all
subfolders.  It's doable, but changing these permissions is committing
brain surgery on file system security, and could have unwanted side
effects.

For non-elevated programs that are coded to write data under their own
installation folder, like Dialog, I created a separate C:\Programs
folder, so it's separate of the C:\Program Files [x86] system folders,
and under there is where I put the Dialog folder.  For me, Dialog is
under C:\Programs\40tude Dialog.  I could've called it MyPrograms,
FullControlPermissionPrograms, or anything else I wanted (other than the
name of another existing folder at the same folder level).  For those
type of programs wanting to write data into their installation folder,
they should be installed somewhere OTHER than C:\Program Files [x86].
By default, they won't have permissions to write data there.
Technical Details
Message-ID: <13ahq7n51jomn.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sjkvbm$cim$1@gioia.aioe.org> <wefzhwuc8stw.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <13ahq7n51jomn.dlg@v.nguard.lh>
Subject: Re: [40-tude Dialog] Archival of existing installation
Date: Fri, 8 Oct 2021 13:31:29 -0500
From: VanguardLH <V@nguard.LH>
References: <sjkvbm$cim$1@gioia.aioe.org> <wefzhwuc8stw.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet Elder
Lines: 38
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net JtydvXVGZL75WZKrk+nFMw4dFSJnSjqD2KtTj19J5TOaRXbSIk
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:AvhVVhlCrpvVEOauKjCKhZt7O5c=
User-Agent: 40tude_Dialog/2.0.15.41