This file is indexed.

/etc/samba/netlogon/mozilla/mkmozapd.bat is in debian-edu-config 1.702.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
::
:: mkmozapd.bat
::
::   copies registry.dat / profiles.ini to
::   %APPDATA/...
::
::   if the profile folder does not yet exist
::
@echo off

:: VAR
set PROFILE_NEW=profiles.ini
set PROFILE_OLD=registry.dat

set H_FIREFOX=%HOMEDRIVE%\.mozilla\firefox
set APPDATA_FIREFOX_SOURCE=%LOGONSERVER%\netlogon\mozilla\profiles.ini.FIREFOX
set APPDATA_FIREFOX_TARGET_FOLDER=%APPDATA%\Mozilla\Firefox
set APPDATA_FIREFOX_TARGET_FILE=%PROFILE_NEW%

rem set H_THUNDERBIRD=%HOMEDRIVE%\.mozilla-thunderbird
rem set APPDATA_THUNDERBIRD_SOURCE=%LOGONSERVER%\netlogon\mozilla\profiles.ini.THUNDERBIRD
rem set APPDATA_THUNDERBIRD_TARGET_FOLDER=%APPDATA%\Thunderbird
rem set APPDATA_THUNDERBIRD_TARGET_FILE=%PROFILE_NEW%

:: Mozilla-Firefox
if EXIST "%H_FIREFOX%" (

  if not EXIST "%APPDATA_FIREFOX_TARGET_FOLDER%" (

    mkdir "%APPDATA_FIREFOX_TARGET_FOLDER%"

    if not EXIST "%APPDATA_FIREFOX_TARGET_FOLDER%\%PROFILE_OLD%" (

      if not EXIST "%APPDATA_FIREFOX_TARGET_FOLDER%\%PROFILE_NEW%" (

        echo Creating DebianEdu_FIREFOX_APPDATA: %APPDATA_FIREFOX_TARGET_FILE%
        copy "%APPDATA_FIREFOX_SOURCE%" "%APPDATA_FIREFOX_TARGET_FOLDER%\%APPDATA_FIREFOX_TARGET_FILE%" > NUL

      )

    )

  )

)

:: Mozilla-Thunderbird
rem  if EXIST "%H_THUNDERBIRD%" (
rem    if not EXIST "%APPDATA_THUNDERBIRD_TARGET_FOLDER%" (
rem      mkdir "%APPDATA_THUNDERBIRD_TARGET_FOLDER%"
rem      if not EXIST "%APPDATA_THUNDERBIRD_TARGET_FOLDER%\%PROFILE_OLD%" (
rem        if not EXIST "%APPDATA_THUNDERBIRD_TARGET_FOLDER%\%PROFILE_NEW%" (
rem          echo Creating DebianEdu_THUNDERBIRD_APPDATA: %APPDATA_FIREFOX_TARGET_FILE%
rem          copy "%APPDATA_THUNDERBIRD_SOURCE%" "%APPDATA_THUNDERBIRD_TARGET_FOLDER%\%APPDATA_THUNDERBIRD_TARGET_FILE%" > NUL
rem        )
rem      )
rem    )
rem  )