Page 4 of 5
Re: Gain admin rights
Posted: 30 May 2013 16:19
by grindax
.
Re: Gain admin rights
Posted: 30 May 2013 16:21
by admin
Uh, why are you posting this?
Re: Gain admin rights
Posted: 30 May 2013 17:26
by grindax
.
Re: Gain admin rights
Posted: 30 May 2013 19:03
by admin
grindax wrote:admin wrote:Uh, why are you posting this?
Because you pivoted the thread to discussing file manager preference.
No, that wasn't my intention. teppups is a troll on a mission to talk down XY and talk up DO. I'd like to know what's motivating folks like him, and I just tried to get something meaningful out of him. Failure. Well, I will spare the weed for now.
Re: Gain admin rights
Posted: 30 May 2013 19:44
by Filehero
admin wrote:Well, I will spare the weed for now.
Well, I always thought a troll's mission is nothing but to troll. I took me some years, but now I've learned how to resist temptations - even if the forum system doesn't offer an ignore function.
Back to topic now.
Code: Select all
v10.10.0103 - 2011-08-23 20:52
* Custom Copy Blacklist: Now you have to append an * (asterisk) to
mark a folder as being blacklisted including all subfolders.
An example using recursive and non-recursive paths:
%HOMEDRIVE%
%ALLUSERSPROFILE%*
%ProgramFiles%*
%ProgramFiles(x86)%*
%WinDir%*
After my first tests, this works fine so far.
Question to Win experts: what are the attributes to check for in order to make a complete list of excluded paths for a given drive (by running
any sort of script technology)? Is it just access rights? Which ones?
More questions: how tightly coupled is this blacklist to Custom Copy? Or the other way round: could it be dedicated to other XY commands as well with "little" effort?
Edit Stupid since there is no generic equivalent for "shell copy" like "shell function". The naive idea was to make a white list of commands requiring elevation and elevate the instance once they get called.
Cheers,
Filehero
Re: Gain admin rights
Posted: 30 May 2013 22:41
by teppups
None of what I posted on the BdJ thread was trolling, they were completely legitimate questions that in my view you failed to answer satisfactorily.
How can it be trolling to point out the truth?
Re: Gain admin rights
Posted: 31 May 2013 08:41
by admin
teppups wrote:None of what I posted on the BdJ thread was trolling, they were completely legitimate questions that in my view you failed to answer satisfactorily.
How can it be trolling to point out the truth?
Please answer my question first:
http://www.xyplorer.com/xyfc/memberlist ... rofile&u=2
Re: Gain admin rights
Posted: 31 May 2013 08:48
by admin
teppups wrote:Copy isn't the only operation a file manager needs to be able to do. E.g. use XY unelevated to create a new folder in C:\Program Files. Big fail.
That's actually an interesting observation. You have any idea how this could be achieved?
Re: Gain admin rights
Posted: 31 May 2013 10:40
by Marco
Maybe they installed a service that doesn't show any UAC prompt, much life FF and TB with their update service...
Re: Gain admin rights
Posted: 31 May 2013 10:42
by teppups
Marco wrote:Maybe they installed a service that doesn't show any UAC prompt, much life FF and TB with their update service...
No it shows a UAC prompt, it just seems to be handled internally (
like Explorer, rather than relying on Explorer which is what XY seems to do).
Re: Gain admin rights
Posted: 31 May 2013 11:10
by Chris21
I had to notice that just creating an elevated shortcut isn't the solution because it isn't the shortcut that gets marked as elevated but the executable xyplorer.exe itself. Therefore any instance will be started in elevated mode.
Re: Gain admin rights
Posted: 31 May 2013 11:14
by Chris21
This could be a solution that can be done over the time:
Develop a seperate file operations process that can be elevated when needed. This process will be executed for file operations like create, copy, delete, ... .
In the settings you state that custom copy can be executed in a seperate process. So it should already be possible to execute it with admin privileges where needed or?
Re: Gain admin rights
Posted: 31 May 2013 11:15
by Marco
Re: Gain admin rights
Posted: 31 May 2013 11:15
by admin
Chris21 wrote:This could be a solution that can be done over the time:
Develop a seperate file operations process that can be elevated when needed. This process will be executed for file operations like create, copy, delete, ... .
In the settings you state that custom copy can be executed in a seperate process. So it should already be possible to execute it with admin privileges where needed or?
Yes, that would surely work as plan B. I'm currently still researching cooler options.
Re: Gain admin rights
Posted: 31 May 2013 11:35
by Chris21
An addition to this:
It would be also nice to open the command prompt with admin privileges.