Open Bug 1886399 Opened 1 year ago Updated 1 year ago

symlink replaced with link target for signature file (mail footer) in account settings

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 115
Desktop
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kolAflash, Unassigned)

Details

Steps to reproduce:

On Linux, using Thunderbird-115.8 by Debian-12:
(somehow I could only select Thunderbird-116 but not Thunderbird-115 as version in the bug header)

Create two signatures (mail footers) for my mails as TXT files.
exhibition_announcement.txt
no_exhibition.txt
Symlink the one I like to use currently.
ln -s footer_exhibition_announcement.txt current_symlink.txt
(I'm using the symlink to keep the non-exposition version and switch back to it after an exposition)

Open the account settings in Thunderbird and enter
/home/myuser/mail_signature_footers/current_symlink.txt
as file for the mail signature.

Reopen the account settings.

Actual results:

After reopening the settings
/home/myuser/mail_signature_footers/current_symlink.txt
will be automatically replaced with
/home/myuser/mail_signature_footers/footer_exhibition_announcement.txt

Expected results:

The settings should instead keep the path that was entered.

The path is only replaced once you reopen the account settings. If you enter the path to the symlink in the settings, close the settings and create a new email, the path to the symlink is used for the signature.
(tested by changing the symlink after closing the settings, before creating the new email)

So I'd consider this a defect, because this is really unintentional behaviour.

I also know of no other program which replaces symlinks in it's configuration with the target file path. Thunderbird should just keep the entered path in the configuration and always do the file open syscall on the entered path and not on the symlink target path.

Maybe related:

Local Directory paths mangled and MBOX files inaccessible after upgrade to Thunderbird version 102 if paths contain a symlink.
https://bugzilla.mozilla.org/show_bug.cgi?id=1800710

Subfolder below local folders does not show up if symlinked from a different partition
https://bugzilla.mozilla.org/show_bug.cgi?id=1790953

email local directory path using symlink is using the resolved value not the symlink
https://bugzilla.mozilla.org/show_bug.cgi?id=1789108

Firefox and Thunderbird destroy symlink for persdict.dat and other files, like symlink'ed profiles
https://bugzilla.mozilla.org/show_bug.cgi?id=1427192

Link to signature changed unintentionally
https://bugzilla.mozilla.org/show_bug.cgi?id=1100265

attach symlink will be named like the target not like the name of the symlink itself
https://bugzilla.mozilla.org/show_bug.cgi?id=271480

P.S. I rea

OS: Unspecified → Linux
Hardware: Unspecified → Desktop

(fixing version to 115, which had been missing for a few days)

Version: Thunderbird 116 → Thunderbird 115
You need to log in before you can comment on or make changes to this bug.