How to tell Samba not to create a new file when the file being modified is a symbolic link?
Posted on 2003-11-03
I have a file:
/home/elvin/share.xls with the following permission: -rwxrwxr--
I share it with members of my group; they make a symbolic link of the file on their own directory, say:
/home/grpmate1/share.xls -> /home/elvin/share.xls
and the resulting permission is lrwxrwxrwx.
Update of the file is being done on Windows platform thru Samba. The problem is, when grpmate1 updates and saves the file, the symbolic link is replaced by a new file that is resident to his own directory:
/home/grpmate1/share.xls with permission -rwxrwxr--
His modifications will not reflect on my file, because it is no longer linked.
How can I tell Samba that it is a symbolic link and should not be replaced by a new file?