diff --git a/test/ModuleInterface/Inputs/make-unreadable.py b/test/ModuleInterface/Inputs/make-unreadable.py index 6a90d3ae511af..c8af100827864 100644 --- a/test/ModuleInterface/Inputs/make-unreadable.py +++ b/test/ModuleInterface/Inputs/make-unreadable.py @@ -30,7 +30,7 @@ for path in sys.argv[1:]: subprocess.call(['icacls', path, '/deny', - '{}:(R)'.format(user_name)]) + '{}:(RD)'.format(user_name)]) else: for path in sys.argv[1:]: subprocess.call(['chmod', 'a-r', path])