This error occures if FFS tries to access files/directories outside the users rights.
It can be avoided if FFS tries to aquire admin rights(password) from the current user interactively .
If the user can provide the password FFS could aquire admin rights form the system and can proceed.
Other programs can do this, thus it can not be impossible.
[Feature Request] Avoiding ERROR_ACCESS_DENIED
- Posts: 7
- Joined: 17 Jan 2024
-
- Posts: 4296
- Joined: 11 Jun 2019
These access requests occur during startup. FFS would have to close and open a new instance to request elevation, thus interrupting the sync and having to re-compare the locations. Usually, you are either syncing restricted files consistently and should run FFS as admin every time, or you aren't
- Posts: 7
- Joined: 17 Jan 2024
I guess ChatGPT has a different opinion:
https://chatgpt.com/share/678940d9-1c70-8004-bd55-2fa0440ce1d4
Please take a look.
May be that the current sync operation has to be restartet but is it not worth for convenience of the user ?
Alternativly the rights requirements could be saved in the sync configuration for later reuse
to enable FFS to request elevation before running a syncoperation.
If a syncoperation fails, FFS could set a flag in the configuration to request elevation
next time before running the configuration.
I know this is mostly an exception but I think computers should do work for us not we for them.
So why I should let my computer force me to restart in admin mode if it could do this for me.
To program this feature is afford once to restart in admin mode for the users is afford multiple times.
Think about it.
https://chatgpt.com/share/678940d9-1c70-8004-bd55-2fa0440ce1d4
Please take a look.
May be that the current sync operation has to be restartet but is it not worth for convenience of the user ?
Alternativly the rights requirements could be saved in the sync configuration for later reuse
to enable FFS to request elevation before running a syncoperation.
If a syncoperation fails, FFS could set a flag in the configuration to request elevation
next time before running the configuration.
I know this is mostly an exception but I think computers should do work for us not we for them.
So why I should let my computer force me to restart in admin mode if it could do this for me.
To program this feature is afford once to restart in admin mode for the users is afford multiple times.
Think about it.
-
- Posts: 4296
- Joined: 11 Jun 2019
Fuck your ChatGPT dude, you didn't even read all of it.
It literally says "A direct transition to admin mode is not technically possible; the program needs to restart."
AI has enabled people who have zero knowledge to believe that they don't.
It literally says "A direct transition to admin mode is not technically possible; the program needs to restart."
AI has enabled people who have zero knowledge to believe that they don't.
- Posts: 7
- Joined: 17 Jan 2024
Did you read this ?
Where there is no will, there is an excuse.
Where there is a will, there is a way.If the program determines that it does not have admin rights, it can restart itself with elevated rights without losing the program state entirely. This is done by launching a copy of the program with admin privileges.
Where there is no will, there is an excuse.
-
- Site Admin
- Posts: 7357
- Joined: 9 Dec 2007
This is a typical ChatGPT response. It's 50% right and 50% wrong. ChatGPT shouldn't be used as a source of "truth".If the program determines that it does not have admin rights, it can restart itself with elevated rights without losing the program state entirely. This is done by launching a copy of the program with admin privileges.
-
- Posts: 4296
- Joined: 11 Jun 2019
Source code is provided, start coding ¯\_(ツ)_/¯Where there is a will, there is a way. joeuser, 17 Jan 2025, 08:26
- Posts: 7
- Joined: 17 Jan 2024
I guess you know how long it takes to understand foreign source code.
If you give me a pointer to the place i have to change (may be several places)
I will take a look.
If you give me a pointer to the place i have to change (may be several places)
I will take a look.