Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

What does "Locked=1" in profiles.ini do?

  • 6 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I am familiar with the profiles.ini file except for one thing for which I can find no information about. Recently the above mentioned line showed up in both the install.ini and profiles.ini files. This is what is in the files now: Profiles.ini

   [Install308046B0AF4A39CB]
   Default=Profiles/5cmttesr.default
   Locked=1
   [Profile0]
   Name=default
   IsRelative=1
   Path=Profiles/5cmttesr.default
   Default=1
   [General]
   StartWithLastProfile=1
   Version=2

Install.ini

   [308046B0AF4A39CB]
   Default=Profiles/5cmttesr.default
   Locked=1

As can be seen under the default profile listing is the locked=1 line or setting. So does this lock the profile so no changes can be made, or only lock some parts or does the 1 indicate it is unlocked or what? All the profile.ini articles and examples do not show the locked= line at all or even mention it as an optional setting.

I am familiar with the profiles.ini file except for one thing for which I can find no information about. Recently the above mentioned line showed up in both the install.ini and profiles.ini files. This is what is in the files now: Profiles.ini [Install308046B0AF4A39CB] Default=Profiles/5cmttesr.default Locked=1 [Profile0] Name=default IsRelative=1 Path=Profiles/5cmttesr.default Default=1 [General] StartWithLastProfile=1 Version=2 Install.ini [308046B0AF4A39CB] Default=Profiles/5cmttesr.default Locked=1 As can be seen under the default profile listing is the locked=1 line or setting. So does this lock the profile so no changes can be made, or only lock some parts or does the 1 indicate it is unlocked or what? All the profile.ini articles and examples do not show the locked= line at all or even mention it as an optional setting.

Giải pháp được chọn

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -

  • Use the selected profile without asking at startup.
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (6)

more options

Giải pháp được chọn

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -

  • Use the selected profile without asking at startup.
more options

Also, 308046B0AF4A39CB identifies a specific build of Firefox (for example, regular release, 64-bit, Windows, U.S. English). The profile locked to that build will not be used by a different installation of Firefox, such as Beta, Developer, ESR, or Nightly. More info: Dedicated profiles per Firefox installation.

more options
more options

cor-el, the link you suggested is a typical example, it really explains nothing about the actual entries/lines in the install.ini or Profiles.ini. And as I said I know most of the rest including what jscher2000 mentioned. But I could not find anywhere that mentioned the locked entry.

more options

My_Cheese_Is_Slippin' said

Hi Wolfie0827, Locked=1 is the profile which is selected in the Profile Manager to -
  • Use the selected profile without asking at startup.

jscher2000 said

Also, 308046B0AF4A39CB identifies a specific build of Firefox (for example, regular release, 64-bit, Windows, U.S. English). The profile locked to that build will not be used by a different installation of Firefox, such as Beta, Developer, ESR, or Nightly. More info: Dedicated profiles per Firefox installation.

Thanks both of you for the answer.

more options

Locked=1 means that this profile is locked to the Firefox installation path referenced by the hash (308046B0AF4A39CB). No other Firefox 67+ installed in another installation path can/will use this profile. Older Firefox versions do not know about dedicated profiles and use a locked profile without warning.