From 9f40826fb552cb89de9539ab62806b2ae543f6c5 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 16 May 2019 00:13:05 +0200 Subject: [PATCH] Added a link to list of NTFS rights --- certbot/compat/filesystem.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/certbot/compat/filesystem.py b/certbot/compat/filesystem.py index 00837f22a..1a468fd05 100644 --- a/certbot/compat/filesystem.py +++ b/certbot/compat/filesystem.py @@ -116,7 +116,10 @@ def _generate_windows_flags(rights_desc): # substracted of the rights corresponding to POSIX read and POSIX execute. # # Finally, having read + write + execute gives a ntsecuritycon.GENERIC_ALL, - # so a full control of the file. + # so a "Full Control" on the file. + # + # A complete list of the rights defined on NTFS can be found here: + # https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc783530(v=ws.10)#permissions-for-files-and-folders flag = 0 if rights_desc['read']: flag = flag | ntsecuritycon.FILE_GENERIC_READ