View Issue Details

IDProjectCategoryView StatusLast Update
0002309Double CommanderDefaultpublic2021-05-06 02:25
Reporteroasisindesert Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
ProjectionnoneETAnone 
Product Version0.9.3Product Build2019/05/18 
Summary0002309: Path changing is fails due to absent permissions
DescriptionDC refuses to change the target drive, because the recent path for target drive is not accessible due to lack of permissions.

For example, when trying to change the target drive to "C:" DC refuses changing the target drive with next the message "Change current directory to 'C:\Users\Administrator' failed!".

I think that the correct behavior is switching to the target drive by trimming target path up to the root, until the next top level path will be accessible. For example DC could open path "C:\Users" instead of "C:\Users\Administrator".
Steps To Reproduce1) Start DC with Administrator permissions.
2) Open on left file panel directory (C:\Users\Administrator) which is not accessible by ordinary users.
3) Close DC.
4) Open DC
5) Change the target drive (D: or E:)for the left panel.
6) Try to return to previous drive (C:) ... The refusal dialogue will be shown!
Additional InformationDouble Commander
Version: 0.9.3 beta
Revision: 8847M
Build date: 2019/05/18
Lazarus: 2.0.2.0
FPC: 3.0.4
Platform: x86_64-Win64-win32/win64
OS version: Windows 7 SP1 x86_64
TagsNo tags attached.
Attached Files
DC-BUG-20190627.png (24,365 bytes)   
DC-BUG-20190627.png (24,365 bytes)   
Fixed in Revision
Operating systemWindows
WidgetsetWin32
Architecture64-bit

Activities

DoubleTim

2019-09-03 12:16

reporter   ~0003256

Last edited: 2019-09-03 12:17

In step 6) reporter probably used "back", because click to C: would be different.
I don't think this should be fixed. Message is correct and we can click C:.

user01

2021-05-06 02:25

reporter   ~0003760

Root mode is mostly done. Just change directory that won't offer to elevate on fail.

Issue History

Date Modified Username Field Change
2019-06-27 15:23 oasisindesert New Issue
2019-06-27 15:23 oasisindesert File Added: DC-BUG-20190627.png
2019-09-03 12:16 DoubleTim Note Added: 0003256
2019-09-03 12:17 DoubleTim Note Edited: 0003256
2021-05-06 02:25 user01 Note Added: 0003760