Skip to content

Commit a58bda1

Browse files
committed
Added file copy mechanism configuration policy
1 parent e8930b5 commit a58bda1

File tree

3 files changed

+44
-9
lines changed

3 files changed

+44
-9
lines changed

BaseALTGroupPolicies.admx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
<decimal value="0"/>
351351
</disabledValue>
352352
</policy>
353-
<policy class="Machine" displayName="$(string.RemovableStorageClasses_DenyAll_User_Access)" explainText="$(string.RemovableStorageClasses_DenyAll_User_Access_help)" key="Software\BaseALT\Policies\GPUpdate\RemovableStorageDevices" name="RemovableStorageClasses_DenyAll_User_Access" valueName="Deny_All">
353+
<!--- <policy class="Machine" displayName="$(string.RemovableStorageClasses_DenyAll_User_Access)" explainText="$(string.RemovableStorageClasses_DenyAll_User_Access_help)" key="Software\BaseALT\Policies\GPUpdate\RemovableStorageDevices" name="RemovableStorageClasses_DenyAll_User_Access" valueName="Deny_All">
354354
<parentCategory ref="system:ALT_Mounting"/>
355355
<supportedOn ref="system:SUPPORTED_AltP10"/>
356356
<enabledValue>
@@ -359,6 +359,19 @@
359359
<disabledValue>
360360
<decimal value="0"/>
361361
</disabledValue>
362+
</policy>-->
363+
<policy class="Machine" displayName="$(string.gpupdate_filescopy_applier)"
364+
explainText="$(string.gpupdate_filescopy_applier_help)"
365+
key="Software\BaseALT\Policies\GroupPolicies"
366+
name="CopyFilesMarker"
367+
valueName="CopyFilesMarker"
368+
presentation="$(presentation.GpupdateFilescopyApplier)">
369+
<parentCategory ref="ALT_GroupPolicies"/>
370+
<supportedOn ref="system:SUPPORTED_AltP10"/>
371+
<elements>
372+
<list id="ExtensionMarkerList" key="Software\BaseALT\Policies\GroupPolicies\Files\ExtensionMarker" additive="true"/>
373+
<list id="MarkerUsagePathList" key="Software\BaseALT\Policies\GroupPolicies\Files\MarkerUsagePath" additive="true"/>
374+
</elements>
362375
</policy>
363376
</policies>
364377
</policyDefinitions>

en-US/basealtgrouppolicies.adml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,23 @@ Enabled — symbolic links to user's network drives mount points will be display
122122

123123
/run/media/USERNAME/.drives -> ~/.net.drives — for hidden user's network drives.
124124
</string>
125-
<string id="gpupdate_drive_maps_home">Mapping machine's network drives in the home directory</string>
126-
<string id="gpupdate_drive_maps_home_help">Mapping machine's network drives in the home directory
125+
<string id="gpupdate_filescopy_applier">Configuring the File Copy Mechanism</string>
126+
<string id="gpupdate_filescopy_applier_help">Configuring the File Copy Mechanism
127+
128+
This policy configures the "copy files" mechanism by generating a list of suffixes that identify a file as executable (Example: .sh) and a list of target copy paths for files with these suffixes.
127129

128-
Disabled (default) — symbolic links to machine's network drives mount points will not be placed in the home directory.
130+
If you enable this policy setting, enter the paths for copying files in the "List of copy paths" field and the suffixes of executable files in the "List of file suffixes" field. Files with the specified suffixes copied to the assigned paths will be given execute permission (chmod +x).
129131

130-
Enabled — symbolic links to machine's network drives mount points will be displayed in the home directory:
131-
132-
/media/gpupdate/drives.system -> ~/net.drives.system — for system network drives;
133-
134-
/media/gpupdate/.drives.system -> ~/.net.drives.system — for hidden system network drives.
132+
If this policy setting is disabled or not set, copying occurs without changing execution permissions.
135133
</string>
136134
</stringTable>
135+
136+
<presentationTable>
137+
  <presentation id="GpupdateFilescopyApplier">
138+
<listBox refId="MarkerUsagePathList">List of copy paths:</listBox>
139+
<listBox refId="ExtensionMarkerList">List of file suffixes:</listBox>
140+
      </presentation>
141+
</presentationTable>
137142
</resources>
138143
</policyDefinitionResources>
144+

ru-RU/basealtgrouppolicies.adml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,22 @@
133133

134134
/media/gpupdate/.drives.system -> ~/.net.drives.system — для скрытых системных сетевых дисков;
135135
</string>
136+
<string id="gpupdate_filescopy_applier">Настройка механизма копирования файлов</string>
137+
<string id="gpupdate_filescopy_applier_help">Настройка механизма копирования файлов
138+
139+
Данная политика конфигурирует механизм "копирования файлов", формируя список суффиксов, идентифицироющих файл, как исполняемый, (Пример: .sh) и список целевых путей копирования для файлов с данными суффиксами.
140+
141+
При включении данного параметра политики введите пути для копирования файлов в поле "Список путей копирования" и суффиксы исполняемых файлов в поле "Список суффиксов файлов". К файлам с указанныеми суффиксами, копированным в назначенные пути будет задано право на исполнение (chmod +x).
142+
143+
Если данный параметр политики отключён или не задан, копирование происходит без изменения разрешений исполнения.
144+
</string>
136145
</stringTable>
146+
147+
<presentationTable>
148+
  <presentation id="GpupdateFilescopyApplier">
149+
<listBox refId="MarkerUsagePathList">Список путей копирования:</listBox>
150+
<listBox refId="ExtensionMarkerList">Список суффиксов файлов:</listBox>
151+
      </presentation>
152+
</presentationTable>
137153
</resources>
138154
</policyDefinitionResources>

0 commit comments

Comments
 (0)