in reply to How do I check if another user can access a file?
if(! FILE, ">filename") { #dosomething } else { #dosomethingelse } [download]