To check for read/write right to a directory, I do something like this, in semi-code:
lcError=set('error')
on error *
strtofile('xxxx','\mypathtocheck\test.tst')
llAccess=adir(dummy,'\mypathtocheck\test.tst')>1
on error &lcError
>Hi!
>
>Is there a function to access re user's permission to a specific file &/or folder?
>
>Regards,