Preferences not saved: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
(added links, categories)
Line 1: Line 1:
You may not be able to save any preference settings and you may receive an error similar to "Failed to save the preferences file. Any preference changes will be lost at the end of the session" [http://forums.mozillazine.org/viewtopic.php?t=455989].  You may also find multiple files named prefs-n.js (where n is a number) appearing in the [[profile folder]].   
You may not be able to save any preference settings and you may receive an error similar to "Failed to save the preferences file. Any preference changes will be lost at the end of the session" [http://forums.mozillazine.org/viewtopic.php?t=455989].  You may also find multiple files named "prefs-n.js" (where n is a number) appearing in the [[profile folder]].   


This problem can be caused by having the "prefs.js" or "prefs.js.moztmp" file in the profile folder set to read-only or hidden.  Remove the "read-only" attribute to resolve the issue.  
This problem can be caused by having the [[prefs.js]] or "prefs.js.moztmp" file in the profile folder set to read-only or hidden.  Remove the "read-only" attribute to resolve the issue.  


Note that other read-only files in the profile folder can cause similar problems, for example, a read-only [[cookies.txt]] or cookies.txt.moztmp file can cause loss of cookie data and creation of multiple cookies-n.txt files, and a read-only [[bookmarks.html]] or [[bookmarks.html.moztmp]] file can cause bookmarks not to be saved and creation of multiple bookmarks-n.html files
Note that other read-only files in the profile folder can cause similar problems, for example, a read-only [[cookies.txt]] or "cookies.txt.moztmp" file can cause loss of cookie data and creation of multiple cookies files and a read-only [[bookmarks.html]] or [[bookmarks.html.moztmp]] file can cause bookmarks not to be saved and creation of multiple bookmarks files. 
 
==Related bugs==
* [https://bugzilla.mozilla.org/show_bug.cgi?id=157152 Bug 157152 - read-only/hidden bookmarks.html (or bookmarks.html.moztmp) causes creation of bookmarks-{n+1}.html]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=257288 Bug 257288 - read-only profile files (cookies, bookmarks, etc) not respected, results in data loss]


==See also==
==See also==
*[[Multiple bookmarks files created]]
*[[Multiple bookmarks files created]]
*[[Multiple cookies files created]]
*[[Bookmarks not saved]]
*[[Bookmarks not saved]]


==Related bugs==
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=157152 Bug 157152 - read-only/hidden bookmarks.html (or bookmarks.html.moztmp) causes creation of bookmarks-{n+1}.html]
[[Category:Issues (Firefox)]]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=257288 Bug 257288 - read-only profile files (cookies, bookmarks, etc) not respected, results in data loss]
[[Category:Issues (Mozilla Suite)]]

Revision as of 02:21, 25 August 2006

You may not be able to save any preference settings and you may receive an error similar to "Failed to save the preferences file. Any preference changes will be lost at the end of the session" [1]. You may also find multiple files named "prefs-n.js" (where n is a number) appearing in the profile folder.

This problem can be caused by having the prefs.js or "prefs.js.moztmp" file in the profile folder set to read-only or hidden. Remove the "read-only" attribute to resolve the issue.

Note that other read-only files in the profile folder can cause similar problems, for example, a read-only cookies.txt or "cookies.txt.moztmp" file can cause loss of cookie data and creation of multiple cookies files and a read-only bookmarks.html or bookmarks.html.moztmp file can cause bookmarks not to be saved and creation of multiple bookmarks files.

Related bugs

See also