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],
|
['/usr/bin/stat', '-f', '-c', '%T', filename],
|
||||||
stderr=subprocess.STDOUT
|
stderr=subprocess.STDOUT
|
||||||
) # nosec B603
|
) # nosec B603
|
||||||
if 'fuseblk' in fstype:
|
if b'fuseblk' in fstype:
|
||||||
logger.info(
|
logger.info(
|
||||||
'Skipping file permissions check for %s.'
|
'Skipping file permissions check for %s.'
|
||||||
' Filesystem fuseblk detected.', filename)
|
' Filesystem fuseblk detected.', filename)
|
||||||
|
|
Reference in New Issue
Block a user