Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py #2250
|
@ -196,7 +196,7 @@ def checkSensitiveFilePermissions(filename):
|
|||
['/usr/bin/stat', '-f', '-c', '%T', filename],
|
||||
stderr=subprocess.STDOUT
|
||||
) # nosec B603
|
||||
if 'fuseblk' in fstype:
|
||||
if b'fuseblk' in fstype:
|
||||
logger.info(
|
||||
'Skipping file permissions check for %s.'
|
||||
' Filesystem fuseblk detected.', filename)
|
||||
|
|
Reference in New Issue
Block a user