Search found 6432 matches

by sgrogan
Thu Sep 16, 2021 8:56 pm
Forum: Install / Compile
Topic: Launch from Windows installer fails to drop privileges
Replies: 113
Views: 37110

Re: Launch from Windows installer fails to drop privileges

chennes wrote: Thu Sep 16, 2021 8:44 pm From a technical standpoint, I don't think core NSIS supports this directly, but this plugin seems to allow it.
Thanks!
There may be some "Limitations"
Uwe, what do you think? From a "least privileges" point of view, could be an option?
by sgrogan
Thu Sep 16, 2021 8:19 pm
Forum: Install / Compile
Topic: Launch from Windows installer fails to drop privileges
Replies: 113
Views: 37110

Re: Launch from Windows installer fails to drop privileges

Utterly impossible for ordinary users. Administrators should know how the system works. Only sort of. An ordinary Win user buys a new PC, fires it up, adds a username and password (or not). This user has admin privileges, that's why the installer can elevate privileges. I don't know how easy/hard i...
by sgrogan
Wed Sep 15, 2021 8:33 pm
Forum: Open discussion
Topic: Werner Mayer
Replies: 51
Views: 16078

Re: Werner Mayer

People,
Could we give wmayer a little break?
He said he needed time, so why can't we give it to him?

He's identified 90+ tasks, I think that's enough.
by sgrogan
Wed Sep 15, 2021 6:58 pm
Forum: Install / Compile
Topic: Launch from Windows installer fails to drop privileges
Replies: 113
Views: 37110

Re: Launch from Windows installer fails to drop privileges

As hinted above it would be an ever bigger security problem if the program was installed in Administrator mode and then somehow guessed at a downgrade to an arbitrary unprivileged user for startup and operation. User A could then access User B's files. This is a good point. I guess if the privilege...
by sgrogan
Wed Sep 15, 2021 6:35 pm
Forum: Install / Compile
Topic: Launch from Windows installer fails to drop privileges
Replies: 113
Views: 37110

Re: Launch from Windows installer fails to drop privileges

They may just have wanted to install it for other users too. This is the rub, If you want to install for other users, you need admin privileges. So you tell the installer to run as admin, but only for certain tasks. There is a 2 x 2 matrix. 1) Install as admin, run as admin (current behavior, I hav...
by sgrogan
Thu Sep 09, 2021 5:54 pm
Forum: Developers corner
Topic: [Solved] FC Crashes after opening sketcher FC 0.20(Debug mode)
Replies: 34
Views: 10056

Re: FC Crashes after opening sketcher FC 0.20(Debug mode)

Yes python 3.9 though with QT5 installed I'm pretty sure. Can you post the Help > About FreeCAD Info? OS: Windows 10 Version 2009 Word size of FreeCAD: 64-bit Version: 0.20.25678 (Git) Build type: Debug Branch: master Hash: 48c1738a533ac63527cf46018c773f0ebb03adfd Python version: 3.8.6+ Qt version:...
by sgrogan
Thu Sep 09, 2021 5:28 pm
Forum: Developers corner
Topic: [Solved] FC Crashes after opening sketcher FC 0.20(Debug mode)
Replies: 34
Views: 10056

Re: FC Crashes after opening sketcher FC 0.20(Debug mode)

MikeLemon wrote: Wed Sep 08, 2021 8:42 pm Well I tryed a fresh build with your commands and still even after running it more than once when loading sketcher in FC the program collapses...
Do you have a system installed Python? I've had trouble with this in the past to get CMake to use the one in the Libpack.
by sgrogan
Mon Sep 06, 2021 4:03 pm
Forum: Install / Compile
Topic: Running a compiled version of FreeCAD
Replies: 11
Views: 3525

Re: Running a compiled version of FreeCAD

Sorry that explanation confused me a bit. I'll try to be more clear. You can ignore the error and develop on the FreeCAD.exe but this is in Release mode. If you want to attach FreeCAD to a debugger, you will want to compile FreeCAD_d.exe. I think it's pretty common to have multiple build directorie...
by sgrogan
Sat Sep 04, 2021 2:27 pm
Forum: Install / Compile
Topic: Running a compiled version of FreeCAD
Replies: 11
Views: 3525

Re: Running a compiled version of FreeCAD

Should that be ignored? The script runs the INSTALL project after compilation. I believe the install path is hard coded in the script. For development this is not necessary, you can just comment out this portion of the script. It is useful if you want a portable build of FreeCAD, as what's in the i...
by sgrogan
Fri Sep 03, 2021 7:29 pm
Forum: Install / Compile
Topic: Running a compiled version of FreeCAD
Replies: 11
Views: 3525

Re: Running a compiled version of FreeCAD

Doesn't it suppose to already be generated there automatically after compiling? Did install it correctlly untill now? There are different methods. A more advanced/intrusive method is to add the Libback/bin to your PATH. Some files still need to be copied to build/bin, the CMake variables are design...