From: David Robinson (David.Robinson@Sun.COM)
Date: 02/19/02-06:26:30 PM Z
Message-ID: <3C72ED36.7050906@Sun.COM> Date: Tue, 19 Feb 2002 18:26:30 -0600 From: David Robinson <David.Robinson@Sun.COM> Subject: Re: Named attributes Spencer Shepler wrote: > As other have pointed out to me, this does seem opposite to the > regular attributes of a file when it is truncated. The mode isn't > changed with O_TRUNC (unless setuid/setgid is set) or group isn't > reset as a result of O_TRUNC. Should named attributes be removed as a > result of O_TRUNC. Is this behavior exist in operating environments > today and if so, which ones? If the semantics of O_TRUNC on a file with arbitrary named attributes is to leave them as is, does this mean that in order to recreate a file the client must explicitly list all available attributes and delete/reset them? What if it doesn't grok a named attribute? Should it delete it or leave it alone? -David
This archive was generated by hypermail 2.1.2 : 03/04/05-01:49:31 AM Z CST