>just tried but "getfolder" returns 16 which means just "folder" not actual permissions!
>probably i need to investigate more into it.
Look closer into the second link. I quickly tried with one folder, it returned 16, then I changed it to hidden and it returned 18.
If it's not broken, fix it until it is.
My Blog