Subject: Re: reopening a readonly file as read-write while saving lock
To: Jeremy C. Reed <reed@reedmedia.net>
From: Alfred Perlstein <bright@mu.org>
List: tech-misc
Date: 12/31/2001 19:11:51
* Jeremy C. Reed <reed@reedmedia.net> [011231 19:04] wrote:
> Can fcntl(2) be used to change a readonly file as read/write?
> 
> Or how can I reopen a readonly and locked file so I can write to it?

You can't "re-open" but you can "open" again.

-Alfred