The Samba-Bugzilla – Bug 3427
Linked Excel sheets links are broken when saved back to server
Last modified: 2006-07-05 13:19:15 UTC
I have been in contact with "Red Hat Workflow", and they advised me to contact you. What I have are Microsoft Excel sheets stored on a Linux release 2.6.9-5.ELsmp, and I am accessing them with Windows XP computers through Samba. Some of the sheets are owned by one user and linked to others directories with a ln -s command. The problem is that when Excel writes the updated sheet back to the Linux server, it removes the origional and writes a new copy, breaking the link back to the origional owner.
I don't think that there is anything that can be done here outside
of a custom VFS module. Excel creates a new file, removes the original,
and then renames the new file. A custom VFS module could implement
the NTFS equivalent of tunnelling in that it remembers that a file
was originally a symlink (for say 10 seconds) and then any creation
of a file with the same name just restores the symlink.
What you are seeing is not a bug per say.