Date: Thu, 13 Jan 2000 09:38:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laurynas Biveinis cc: djgpp-workers AT delorie DOT com Subject: Re: fchmod() / fchown() ? In-Reply-To: <387CD2AF.29AB928D@softhome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 12 Jan 2000, Laurynas Biveinis wrote: > is it possible to change attributtes of open file under DOS? There's no system call to do that (AFAIK), and since there's no way to get the full path given the handle, I think you can't do that. > If it is not, I can provide at least fchown(), which does > nothing under DOS. You should at least check for the obvious errors (invalid file handle, for example). It's probably a good idea to include an FSEXT hook.