in reply to Re: How do I test if a file has write permission?
in thread How do I test if a file has write permission?

Open fails when it can't write, period. So if a directory where a file is expected or you have an NFS timeout, this will fail for non-permission reasons.

(Why would your current directory be missing? If someone else rm's it of course :)


Play that funky music white boy..
  • Comment on Re: Answer: How do I test if a file has write permission?