搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

changing uppercase/lowercase in folder names leads to error message

  • 4 个回答
  • 0 人有此问题
  • 18 次查看
  • 最后回复者为 Erik Zijlstra

more options

When I change only the spelling of a folder name, changing e.g. "stuff" into "Stuff" I get an error message "There exists already a folder with that name". Is there a particular reason for this or can we consider this to be a bug? Would it be easy to fix it?

When I change only the spelling of a folder name, changing e.g. "stuff" into "Stuff" I get an error message "There exists already a folder with that name". Is there a particular reason for this or can we consider this to be a bug? Would it be easy to fix it?

所有回复 (4)

more options

Both. It does certainly qualify as a bug and there is a particular reason for it.

Folders in Thunderbird correspond to files in mbox format within the user profile folder. When you tell Thunderbird to change the name of a folder, you're telling it to change the name of the corresponding mbox file in the filesystem. Now, filesystems can be case sensitive or insensitive, meaning filenames that vary only in case may be considered to be different or not. So my guess is that before renaming the mbox file, Thunderbird checks whether a file with the new name already exists in that location, and if the filesystem is case insensitive, the result will be that yes, a file with the new name already exists, namely the very file it's trying to rename… :)

Fortunately, this has an easy workaround. Just rename the folder to something different first, then rename it to the name you want.

有帮助吗?

more options

Thank you for your quick response. The (Linux) filesystem I use is case sensitive. It discriminates perfectly between "stuff" and "Stuff". I have been using the workaround for some time, but it seems a bit clumsy and unnecessary. So I wandered if it could be amended.

有帮助吗?

more options

Ah! It must be Thunderbird itself that somehow does the check in a case insensitive way regardless, then. It sure can be fixed and you may report it. Don't know what's the exact URL and procedure to do it right now, but I'm sure there is one. It may have already been reported even.

有帮助吗?

more options

Looked on bugzilla and found that this has been an open issue for 24 years! (Sorry for the exclamation mark) Some work has been done, but the last comment pertaining to some effort to resolve this, is from 6 years ago. Unclear what we can expect, so I posted a question to this end. cannot rename a local folder to its current name with different case

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题