Vista NTFS Files/Folder Permissions Dialog

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mrEiger
Junior Member
Junior Member
Posts: 8
Joined: 2007-01-04, 15:13 UTC

Vista NTFS Files/Folder Permissions Dialog

Post by *mrEiger »

when i'm trying to open any of NTFS Permissions Dialogs (cm_EditPermissionInfo, cm_EditOwnerInfo, cm_EditAuditInfo) on vista get an error Image: http://farm1.static.flickr.com/174/372976347_081a2d3923.jpg

if link above doesn't work try this:
http://www.flickr.com/photos/58664575@N00/372976347/
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately Microsoft have decided not to port these dialogs to Windows Vista. They do not provide any replacment either, so it would be necessary to do it all manually. I don't currently have the time to do that, sorry.

You can find a sample code to do it on
http://codeproject.com/win32/accessctrl4.asp#xx1422076xx

As you can see, the code needed to read and set permissions is very complex. I really cannot understand why Microsoft have removed that well-working code...
Author of Total Commander
https://www.ghisler.com
mrEiger
Junior Member
Junior Member
Posts: 8
Joined: 2007-01-04, 15:13 UTC

Post by *mrEiger »

oh, i do not use this dialogs. i was testing TC7 pb3 and thought that it was TC bug or that commands to call this dialogs are changed in Vista.
a bit offtipic: aren't u planing to build scripting framework for task automation? like it is in Krusader (disk commander in linux)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

aren't u planing to build scripting framework for task automation?
No I'm not. Why should every program have its own scripting language You have to learn a new language for each program. Better use a script for all programs, there are many out there (and also discussed here in the forum).

Also many functions in TC are not suited for scripting.
Author of Total Commander
https://www.ghisler.com
mrEiger
Junior Member
Junior Member
Posts: 8
Joined: 2007-01-04, 15:13 UTC

Post by *mrEiger »

OK. Verstanden!!! Danke fur die Erklarung :)
Post Reply