On Thu, 2006-05-04 at 20:23 +1000, Russell Strong wrote: > Hi, > > I've found that when I edit a file with vi or gedit I lose all of the > user extended attributes associated with that file. A stat reveals that > the inode number has changed. Is this the reason why I'm losing the > extended attributes? Is vi and gedit creating a new file? Is it easy > to change this behaviour? > > thanks, > Russell I don't know for sure but that makes sense to me. When vi is used, at least, a temporary copy of the file is created to be edited. It would not surprise me that when you save the file a new file with a new inode is created. -- Aaron Konstam <akonstam@xxxxxxxxxxxxx>