Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 6 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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.

Избрано решение

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

  • Use the selected profile without asking at startup.
Прочетете този отговор в контекста 👍 1

Всички отговори (6)

more options

Избрано решение

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.