This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: When acl() returns -1


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.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]