Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 6 відповідей
  • 1 має цю проблему
  • 888 переглядів
  • Остання відповідь від 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.