Commit d939d364 authored by intrigeri's avatar intrigeri
Browse files

tails-debugging-info: clarify that this check is not sufficient for security.

parent f799b7e6
......@@ -153,6 +153,8 @@ def debug_directory(user, dir_name):
print()
# This check is not sufficient, see the comment at the top of the file
# for the complete requirements required for security
owner = getpwuid(os.stat(dir_name).st_uid).pw_name
if owner != user:
print('WARNING: not opening directory {}, '.format(dir_name), end='')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment