Skip to content

System.Directory.getPermissions does not work well on Windows 7

It works well for following code

System.Directory.getPermissions "/path/to/somewhere"

However getting error with this:

System.Directory.getPermissions "/path/to/somewhere/"
*** Exception: getPermissions: does not exist (No such file or directory)

The only difference is the path name. It gets error when having extra trailing slash. It looks wired.

Thanks your help.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/directory
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information