Hi Dan,

Rather than just the bookmarks, we set-up the user's whole Firefox profile on a 
network drive (in their personal "drive", a space with access restricted to 
just them) so it's backed up in exactly the way you describe.

I didn't set it up, so some of the details may be a bit vague.  We use a batch 
file during windows log on to set it up.  Everybody's personal drive is mapped 
to "U:", so it works the same for everybody.
1) mkdir U:\Firefox 
The great thing about this command is (if it doesn't exist) it creates the 
folder in the U drive.  If it does exist, it effectively does nothing.
2) Check to see if ""%userprofile%\Application 
Data\mozilla\firefox\profiles.ini" exists.  If it doesn't, create the directory 
"%userprofile%\Application Data\Mozilla\Firefox" and copy the file Profile.ini 
into it (from a shared network location).
This is the important part. Profile.ini contains the following:

"[General]
StartWithLastProfile=1

[Profile0]
Name=Default
IsRelative=0
Path=U:\Firefox
Default=1"

3) the last part of the batch file checks for "pref.js" and if it's not there 
(i.e. the folder's just been created) copies over (from a shared network 
location) one with our defaults in.  It also does some stuff I don't think is 
relevant  - though I could be wrong.  If you start having problems during 
testing, let me know and I'll try and figure out if it's something I've skipped.

The code for this is:
"
rem Firefox defaults

mkdir u:\Firefox

if exist "%userprofile%\Application Data\mozilla\firefox\profiles.ini" goto 
endff
mkdir "%userprofile%\Application Data\Mozilla\Firefox"
copy /y [network location]\profiles.ini "%userprofile%\Application 
Data\Mozilla\Firefox\"
:endff

rem copy Mozilla profile
if exist u:\firefox\prefs.js goto endpref
copy /y [network location]\prefs.js u:\firefox
:endpref
"

Regards

Will

Will Spratt
IT Science Support Specialist
Tel:         01904 46 2631


-----Original Message-----
From: Enterprise [mailto:[email protected]] On Behalf Of Daniel 
Frey
Sent: 24 January 2017 20:20
To: [email protected]
Subject: [Mozilla Enterprise] Change default location of bookmarks?

Is it possible to change the default save location of the bookmarks?

I would like to redirect them to the user's folder on the server so that they 
can be included in daily backups. Has anyone else done this?

Dan
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to