Difference between revisions of "Copy of a file or folder access rights"
Line 1: | Line 1: | ||
+ | <span data-link_translate_pl_title="Kopiowanie praw dostępu do pliku lub folderu" data-link_translate_pl_url="Kopiowanie+praw+dost%C4%99pu+do+pliku+lub+folderu"></span>[[:pl:Kopiowanie praw dostępu do pliku lub folderu]][[pl:Kopiowanie praw dostępu do pliku lub folderu]] | ||
<span data-link_translate_ja_title="ファイルまたはフォルダーのアクセス権のコピー" data-link_translate_ja_url="%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%BE%E3%81%9F%E3%81%AF%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC%E3%81%AE%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E6%A8%A9%E3%81%AE%E3%82%B3%E3%83%94%E3%83%BC"></span>[[:ja:ファイルまたはフォルダーのアクセス権のコピー]][[ja:ファイルまたはフォルダーのアクセス権のコピー]] | <span data-link_translate_ja_title="ファイルまたはフォルダーのアクセス権のコピー" data-link_translate_ja_url="%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%BE%E3%81%9F%E3%81%AF%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC%E3%81%AE%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E6%A8%A9%E3%81%AE%E3%82%B3%E3%83%94%E3%83%BC"></span>[[:ja:ファイルまたはフォルダーのアクセス権のコピー]][[ja:ファイルまたはフォルダーのアクセス権のコピー]] | ||
<span data-link_translate_ar_title="نسخة حقوق الوصول الملف أو المجلد" data-link_translate_ar_url="%D9%86%D8%B3%D8%AE%D8%A9+%D8%AD%D9%82%D9%88%D9%82+%D8%A7%D9%84%D9%88%D8%B5%D9%88%D9%84+%D8%A7%D9%84%D9%85%D9%84%D9%81+%D8%A3%D9%88+%D8%A7%D9%84%D9%85%D8%AC%D9%84%D8%AF"></span>[[:ar:نسخة حقوق الوصول الملف أو المجلد]][[ar:نسخة حقوق الوصول الملف أو المجلد]] | <span data-link_translate_ar_title="نسخة حقوق الوصول الملف أو المجلد" data-link_translate_ar_url="%D9%86%D8%B3%D8%AE%D8%A9+%D8%AD%D9%82%D9%88%D9%82+%D8%A7%D9%84%D9%88%D8%B5%D9%88%D9%84+%D8%A7%D9%84%D9%85%D9%84%D9%81+%D8%A3%D9%88+%D8%A7%D9%84%D9%85%D8%AC%D9%84%D8%AF"></span>[[:ar:نسخة حقوق الوصول الملف أو المجلد]][[ar:نسخة حقوق الوصول الملف أو المجلد]] |
Revision as of 17:06, 11 October 2016
pl:Kopiowanie praw dostępu do pliku lub folderu
ja:ファイルまたはフォルダーのアクセス権のコピー
ar:نسخة حقوق الوصول الملف أو المجلد
zh:副本的文件或文件夹的访问权限
de:Kopieren einer Datei oder eines Ordners Zugriffsrechte
nl:Kopie van de toegangsrechten van een bestand of map
it:Copia di un file o una cartella dei diritti di accesso
pt:Copiar um arquivo ou pasta de direitos de acesso
es:Copia un archivo o carpeta de derechos de acceso
fr:Recopier les droits d'accès d'un fichier ou d'un dossier
This article has been created by an automatic translation software. You can view the article source here.
Introduction | _. _. This article explains how to copy the access rights of a file or one folder to another on a Windows system: _! _ | Used commands | _. _. PowerShell command | _. _. Get - Acl | _. _. This command allows to extract the ACL | _. _. Command to run in a Windows PowerShell | _. _. However, it does not recursively. The ACLs of folders and the files in DOSSIER_DESTINATION will not be changed. | _. _. a file or folder. The ACL set permissions which benefits users and groups when they access the file | _. _. case.
PowerShell command | _. _. Set - Acl | _. _. This control allows to set the ACL | _. _. | _. _. a file or folder. The ACL applied will be the one defined in the variable | _. _. DROITS_ACCES. It is possible to set this variable | _. _. DROIT_ACCES with the output of the Get - Acl command.
Transfer the rights to one file to another | _. _. Command to run in a Windows PowerShell | _. _. This command copies the access rights of the FICHIER_SOURCE to the FICHIER_DESTINATION.
After running this command, FICHIER_DESTINATION has the same rights of access as FICHIER_SOURCE. : FICHIER_SOURCE access rights are not changed.
Get-Acl -Path FICHIER
Transfer the rights to one folder to another | _. _. You can use the same command to copy rights from one folder to another. (Access Control Lists) : _! _ | This article seem useful to you/
: '
Set-Acl -Path FICHIER -AclObject $DROITS_ACCES
(Access Control Lists) $ $
==
:
Get-Acl -Path FICHIER_SOURCE | Set-Acl -Path FICHIER_DESTINATION
==
:
Get-Acl -Path DOSSIER_SOURCE | Set-Acl -Path DOSSIER_DESTINATION
Sources
https://technet.microsoft.com
?
Enable comment auto-refresher