Bug 455259. Don't use access() to check if a file is writeable, since with at least...
commit6b610915d558b948a4181532a2515d0ff2a0ac43
authorRobert O'Callahan <robert@ocallahan.org>
Mon, 22 Sep 2008 02:09:53 +0000 (22 14:09 +1200)
committerRobert O'Callahan <robert@ocallahan.org>
Mon, 22 Sep 2008 02:09:53 +0000 (22 14:09 +1200)
tree333f84c461949224a903f3bc5100316e1d2b9e15
parent7c0f599970ef46a55868462576697ab9aa238dca
Bug 455259. Don't use access() to check if a file is writeable, since with at least some Linux kernels it will return OK for a file that will give 'text file busy' when written. Just try to open the file and take the rename/unlink path if we can't open it. r=bsmedberg
config/nsinstall.c