Display alert when acces denied

At job, on network drives, some folders have restricted rights.
If i try to open a folder, there is no message alert and stay to the current folder.
I can see that DO jumps briefly to folder then go back.
If DO is set to replace Explorer, if i double clic restricted folder, DO open folder but it's empty.
If i clic this folder in Explorer tree, i have error message "x:\xx not accesible. acces denied."
In DO9, i have the same message.

Can somebody reproduced this ?

hi, sorry to up an old topic, it is possible to look at this borring bug.

How can i help you to find what's wrong.

I made a FolderA and FolderA\FolderB on a network drive (Windows 7 Pro/Ultimate at both ends), denied my account List folder / read data rights to FolderA, then double-clicked FolderA. I got this error message:


What do I need to do to reproduce what you describe where there is no error message at all?

i don't know how folder is protected but i have a different alert.


The root post said there was no alert at all, which is what I thought the problem was.

What are we actually looking for here? :slight_smile:

ok sorry...

there is no alert with Opus... when I double click folder, I can see that path in title bar and file display border change briefly. but no alert.

my last screenshot is when I click folder in explorer.

when i click on folder Tree then it display acced is denied

and here if i click on right on folders happens nothing

oh yes, good catch... when I click on "+" sign on tree, I have alert too.

Nothing would be expected to happen when you single-click on a folder in the file display - you would need to double-click to actually attempt to read the directory.

Yes
Single clic in + sign in tree display alert
Single clic forder in tree do nothing
Double clic in file display do nothing too

So why not answer Leo's question about how your folder is permissioned?

Because i don't know how folder is permissioned. I don't know how to find this. And folders are in server at job...

Right-click the folder, choose Properties, then Security.

(If the right-click menu doesn't appear at all for the folder, try in Explorer.)

I'll check tommorow but if i remember, Security tab is hidden...

:frowning: security tab is hidden...

I create script to display alert when folder are not readable.

Function OnAfterFolderChange(ByRef AfterFolderChangeData) If AfterFolderChangeData.result = false Then Dim Dlg Set Dlg = AfterFolderChangeData.Tab.Dlg Dlg.title = "Accès refusé" Dlg.message = "Impossible d'ouvrir le dossier '" & AfterFolderChangeData.tab.Path & "'" & vbcrlf & vbcrlf & "Vous n'avez pas les droits d'accès à ce dossier." Dlg.buttons = "OK" Dlg.icon = "error" Dlg.show End if End Function

But I delete folder from tree, dialog are always display, even if folder are not protected (it’s ok when I delete folder from files display)…

Script seems to read parent folder first, says that is not readable, then goes to next folder…

The script can't assume there is only one reason a navigation might be cancelled. It will show a dialog in other situations which aren't the one you're interested in, unless it is modified to detect the specifics of it.

Are the cacls.exe or icacls.exe command line tools available on your machine? They can be used to list folder permissions if the Properties / Securty tab is hidden.

:frowning:

On folder with access...

Still a mystery, then.

You might need to ask an admin to list the permissions, or to explain what they've done to those folders, so that we can understand what's happening or try to reproduce it.