Dangerous directories

Thunderbird Thunderbird Cập nhật cuối: 51% người dùng đã bình chọn điều này hữu ích
Chưa có ai giúp dịch bài viết này sang tiếng Việt cả :( Rất mong nhận được sự đóng góp từ bạn. Nếu bạn đã biết cách dịch các bài viết cho SUMO, bắt đầu dịch ngay bây giờ. Nếu bạn muốn tìm hiểu cách dịch các bài viết cho SUMO, hãy bắt đầu tại đây.

Thunderbird (starting with version 24.0) will check whether a local directory used to store your mail, messages headers, and message filters for an account is a safe and valid location, normally within the profile folder. This can cause an alert like "The Local Directory path is not suitable for message storage", to avoid storing your data in a directory where an application or the operating system might accidentally delete it. For example, a directory where an application is installed or temporary files are stored. It is also possible for an add-on to specify dangerous locations.

Normally you will only run into this problem if you try to change where mail is stored, or you create a folder that has characters that might confuse Thunderbird. Thunderbird stores all of the mail for each folder in a file called a mbox file that is named after the folder, with no file extension. For example your inbox folder would be stored as "inbox.". If the folder name contains special characters used by the operating system (like '*', '\', '/', ':', '?', '>', '<', or "), the path to the mbox file (mail folder) can be ambiguous. Another potential problem might be using a folder name that is similar to a reserved file name such as "places.sqlite".

The local directory for a mail account is specified in Tools -> Account Settings -> account name -> Server Settings -> Local directory, near the browse button at the bottom of that window. The only allowed subdirectories in the profile are Mail, ImapMail and News (and subdirectories within them). The local directory is normally named after a mail server. For example, if you have a Gmail POP server it typically uses Mail\pop.googlemail.com. If you configure it to use a global inbox it uses Mail\Local Folders.

Some examples of a valid Local directory path:

   C:\Users\User\AppData\Roaming\Thunderbird\Profiles\12345678.default\Mail\pop.server2.com (Windows Vista, 7, 8, 8.1 and newer)
   D:\Data\MyEmails\pop.server3.com
   C:\Profiles\ 

Some examples of invalid locations:

   C:\WINDOWS
   C:\Program Files
   C:\Documents and Settings\User\Local Settings\Temp
   /tmp 

Whether a directory is a valid location depends upon your systems settings. For example, you could have a D:\Program Files directory if you booted Windows from drive D. Thunderbird will complain if you try to use the following locations:

Folder or Environment variable What it translates to Operating system
"ProfD" Profile directory All
"GreD" GRE (Gecko Runtime Environment) install directory All
"CurProcD"Thunderbird installation directory All
"TmpD"Operating System's temporary file directory All
"SysD"System directoryWindows
"WinD"Windows directoryWindows
"ProgF" Program Files or Program Files (x86) directoryWindows
"Trsh" Trash directoryOS X
"/System"System directoryOS X
"/dev"Devices directoryOS X and Linux
"/proc"Process info directoryLinux
"/sys"System state directoryLinux

Bài viết này có hữu ích không?

Vui lòng đợi...

Những người này đã giúp viết bài này:

Illustration of hands

Tình nguyện viên

Phát triển và chia sẻ chuyên môn của bạn với người khác. Trả lời câu hỏi và nâng cao kiến thức cơ bản của chúng tôi.

Tìm hiểu thêm