delorie.com/archives/browse.cgi | search |
On Feb 17 13:14, Corinna Vinschen wrote: > On Feb 14 21:19, Eric Blake wrote: > > But fsync() is implemented with > > FlushFileBuffers, which requires write access to the handle it is about to > > flush, so it now fails with EACCES. > > > > I don't know if it is better to patch open_fs() to additionally grant > > GENERIC_WRITE access when opening directories as O_RDONLY (since that is the > > only way to open a directory), or to patch fsync() to temporarily grant write > > access to a directory for the duration of the flush. I've implemented a workaround which just ignores directories on fsync(). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |