Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

[v36.x] Rights for XHistory36

Jan
1,189
25
JFI:

For the XHistory file "c:\ProgramData\JP Software\XHistory36", I had to set related rights, else I would not have write access. I received always an error msg after start.

Probably thats normal, but I am not really sure about ...
 
What's not normal is for a program to expect user accounts to have write-access to any directory within "C:\ProgramData". Pretty much ALL other programs only try to write to C:\ProgramData while in elevated state. But TCC is being contrarian here. TCC will typically be run at the user account level and will not have write access to that location without explicit action by the system administrator (who may and should be loath to make such an insecure permissions change).

Of course, I'm getting the same error msg on startup and have not found a way to change the location to a non-protected location such as within %LOCALAPPADATA% space.

As far as your comment on the TCMD.INI, for any secure system, it should not be in %PROGRAMDATA% on any system with any hope of security. Rather the TCMD.INI should be in %LOCALAPPDATA% and those writeable by a regular user. And there is a straightforward way to put it there.

I'm just not finding this same relocation capability for the history file.
 
I have ABSOLUTELY no Windows Polidy which blocks write access, no - definitely NOT.

But @kip-potter is right!
 
JFI:

For the XHistory file "c:\ProgramData\JP Software\XHistory36", I had to set related rights, else I would not have write access. I received always an error msg after start.

Probably thats normal, but I am not really sure about ...
I encountered the same issue on a fresh install of tcmd36. When I ran tcc as a non-administrator, I got an error message about not being able to access xhistory36. To fix it, I had to do this: icacls "C:\ProgramData\JP Software\XHistory36" /grant "%USERNAME%":M
 
Back
Top