New Folder toolbar button doesn't work properly with "runas"

Found a bug or something that needs fixing?
Post Reply
JDAtNorthStar
Posts: 3
Joined: Wed Dec 29, 2010 5:26 am

New Folder toolbar button doesn't work properly with "runas"

Post by JDAtNorthStar »

When I run Explorer++ (version 1.2 64 bit) on a Windows 7 PC using Runas with an admin account, the New Folder button on the toolbar doesn't seem to execute with the elevated permissions. When I click the button in a location where the "runas" admin account has permissions, I receive an error telling me I don't have sufficient privileges. However, if I right-click and select New | Folder in the same location, my elevated permissions are used and I can create the folder. Note: I also tried Actions | New Folder and Ctrl+N and receive the same permissions error. For what it's worth, the Delete button on the toolbar allows me to delete a folder so that seems to be working fine.
David Erceg
Site Admin
Posts: 938
Joined: Sat Apr 18, 2009 1:46 am

Re: New Folder toolbar button doesn't work properly with "runas"

Post by David Erceg »

Ok, thanks JD, I've added it to my list of issues to check out.
ajs
Posts: 409
Joined: Mon Jul 05, 2010 6:37 pm

Re: New Folder toolbar button doesn't work properly with "runas"

Post by ajs »

The toolbar button, CTRL+N and Action->New folder executes the same piece of code, so no wonder you had the same result.
Nevertheless I have being trying to reproduce this problem on my computer (using a nightly built patched version), but seems I can't do it: either I am denied to create a new folder or I am allowed. I have tried different type of configuration for user type and folder security.
Perhaps could you add more information on how to replicate the problem (i.e. folder security settings and user type).
JDAtNorthStar
Posts: 3
Joined: Wed Dec 29, 2010 5:26 am

Re: New Folder toolbar button doesn't work properly with "runas"

Post by JDAtNorthStar »

ajs wrote:The toolbar button, CTRL+N and Action->New folder executes the same piece of code, so no wonder you had the same result.
Nevertheless I have being trying to reproduce this problem on my computer (using a nightly built patched version), but seems I can't do it: either I am denied to create a new folder or I am allowed. I have tried different type of configuration for user type and folder security.
Perhaps could you add more information on how to replicate the problem (i.e. folder security settings and user type).
My regular domain account is a local admin but not a domain admin. My regular account has Read & execute, List folder contents, and Read permissions to folderX. I have a 2nd account that is a domain admin. The domain admin has Full control permissions to folderX. While logged on to my Win7 PC with my regular account, I execute the following command to run Explorer++ as a different user (my 2nd account which is domain admin):

x:\folder>runas /user:domain\userid! "\\server\share\folder\Explorer++.exe

I navigate to folderX and click the New Folder button on the toolbar. I am denied. From the same window and same folder, I right-click in folderX | New | Folder. I am allowed to create a new folder.

I hope that helps. Please let me know if you need more information.
ajs
Posts: 409
Joined: Mon Jul 05, 2010 6:37 pm

Re: New Folder toolbar button doesn't work properly with "runas"

Post by ajs »

ah ah! you are navigating on a network folder. yesterday after I looked into this issue, I found a problem when creating new folder on network drives. see here for details and patch: http://www.explorerplusplus.com/forum/v ... ?f=7&t=756
http://www.explorerplusplus.com/forum/v ... ?f=5&t=706
JDAtNorthStar
Posts: 3
Joined: Wed Dec 29, 2010 5:26 am

Re: New Folder toolbar button doesn't work properly with "runas"

Post by JDAtNorthStar »

ajs wrote:ah ah! you are navigating on a network folder. yesterday after I looked into this issue, I found a problem when creating new folder on network drives. see here for details and patch: http://www.explorerplusplus.com/forum/v ... ?f=7&t=756
http://www.explorerplusplus.com/forum/v ... ?f=5&t=706
ajs, what's the process for your patch to be included in a new release of Explorer++? I can certainly manage without the fix since there is a workaround so I'm just curious how this typically works. Do members create patches then submit them for review so they can ultimately be included in the next release?
ajs
Posts: 409
Joined: Mon Jul 05, 2010 6:37 pm

Re: New Folder toolbar button doesn't work properly with "runas"

Post by ajs »

JDAtNorthStar wrote:
ajs wrote:ah ah! you are navigating on a network folder. yesterday after I looked into this issue, I found a problem when creating new folder on network drives. see here for details and patch: http://www.explorerplusplus.com/forum/v ... ?f=7&t=756
http://www.explorerplusplus.com/forum/v ... ?f=5&t=706
ajs, what's the process for your patch to be included in a new release of Explorer++? I can certainly manage without the fix since there is a workaround so I'm just curious how this typically works. Do members create patches then submit them for review so they can ultimately be included in the next release?
well, the process is quite simple... too simple really.
A user writes a patch and post it in the "Development" section. Then David reviews it and if he approves, he merges the change in, otherwise he rejects it.
The only drawback is that so far the development-to-merge time has been quite long for most of the patches (at least based on my experience with development for E++ from December 2010), but that is up to David since he is the only one who can commit code to the repository. :o
The only thing I can say is that a fully patched E++ is quite nice ;)
Post Reply