pls tell me how to get permissions for opening a file in read/write mode.

regards
merry