mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Remove a specific flag
This commit is contained in:
parent
c1040e3629
commit
b16aca1527
1 changed files with 1 additions and 5 deletions
|
|
@ -126,11 +126,7 @@ def _generate_windows_flags(rights_desc):
|
|||
if rights_desc['write']:
|
||||
flag = flag | (ntsecuritycon.FILE_ALL_ACCESS
|
||||
^ ntsecuritycon.FILE_GENERIC_READ
|
||||
^ ntsecuritycon.FILE_GENERIC_EXECUTE
|
||||
# Following bit is never set for file/directory objects using the
|
||||
# ntsecuritycon.FILE_* flags, but is effectively present when
|
||||
# the "Full Permissions" are applied from Windows UI.
|
||||
^ 512)
|
||||
^ ntsecuritycon.FILE_GENERIC_EXECUTE)
|
||||
if rights_desc['execute']:
|
||||
flag = flag | ntsecuritycon.FILE_GENERIC_EXECUTE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue