Closed ryzom-pipeline closed 8 years ago
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
keys and icfg are using temp file and then rename when saving. This is the reason inode changes.
Before deleting old file, its attributes are set to r/w in CFile::deleteFile function, so thats why hard links attributes change.
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
Permissions are stored on inode which all hardlinks share. Before file is deleted, chmod 777 is made on that file (incase its read-only probably).
Unless there is another use case where hard links will break (separate bugreport), I would not change current behavior.
Original report by Lennaïck (Bitbucket: lennaick, GitHub: lennaick).
All my char have the same config keys, when I log one of my char ingame the config keys works but don't share any change if you have logged with that char more than once.
When log out, My char keys_pseudo.xml have right (664) but inode have change and all hardlink turn to (777) for an unknow raison.