When acl() returns -1

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Jun 27 16:29:00 GMT 2005

On Mon, 27 Jun 2005, Corinna Vinschen wrote:

> On Jun 27 11:56, Igor Pechtchanski wrote:
> > What does Linux do when it finds busy files (I think at least NFS allows
> > file locking).  Or does that locking not extend to retrieving ACLs?
> Linux generally permits to access the file metadata even if the file
> is locked, so that's not a problem.  Windows has the incredibly annoying
> feature that the metadata is part of the file data so locking the file
> also locks accessing metadata :-(

Does Linux have a separate locking mechanism for the metadata itself?  I
mean, there's got to be some way of avoiding races in changing the
metadata...  What's the behavior of a metadata reader in that case?
But maybe I'm barking up the wrong tree here.
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

More information about the Cygwin-developers mailing list