|
Hello,
same comments using PHP function 'is_dir' under Windows NT/XP
using IIS, PHP as CGI:
Path: D:/folder1/folder2/folder3
Example 1:
NTFS rights of folder2: admins, system: Full, guests:
READ
NTFS rights of folder3: unimportant (even, if nobody has a
right for this folder)
is_dir("D:/folder1/folder2/folder3") --> TRUE
---
Example 2:
NTFS rights of folder2: admins, system: Full
(Note: Guests are removed)
NTFS rights of folder3: Everyone: Full
is_dir("D:/folder1/folder2/folder3") --> FALSE
---
It seems that next directory above must have the appropriate NTFS rights to
get the right result of 'is_dir()'.
Also it seems that this 'rule' ist not valid for the root directory of a
drive:
Example 3:
NTFS rights of Drive D: admin, system:
Full
is_dir("D:") --> TRUE
--- It seems that the NT user right 'Bypass traverse checking' has
no influence of this behaviour.
Mit freundlichen Grüßen / best regards
Markus Weber _________________________________________________ |
