display suid bit in web ui

Related: https://pagure.io/koji/issue/616
This commit is contained in:
Tomas Kopecek 2017-10-03 11:57:07 +02:00 committed by Mike McLean
parent d66b9ed27d
commit 5ac2a6b8f0
3 changed files with 24 additions and 1 deletions

View file

@ -459,6 +459,11 @@ def formatMode(mode):
else:
result += '-'
if mode & stat.S_ISUID:
result = result[:3] + 's' + result[4:]
if mode & stat.S_ISGID:
result = result[:6] + 's' + result[7:]
return result
def rowToggle(template):