I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file.
When i edit the file in
Sublime Text, all the extended attributes are preserved, also the inode value remains the same as before. But when i do the same in
Gedit, it is creating new file instead of modifying the existing one. So inode value, user defined/extended attributes are not preserved.
I see this problem is due to the copying behavior of Gedit. But is there a way to preserve them while using Gedit?