2018-03-25, 11:44
Looks like it doesn't enter in the if condition, but I guess it should as it's not executable by default (600)
EDIT: Working for me with this condition :
python:log(st.st_mode) # 33152 -> 100 600
log(st.st_mode | stat.S_IEXEC) # 33216 -> 100 700
if not (st.st_mode | stat.S_IEXEC):
log('if?')
EDIT: Working for me with this condition :
python:if not (stat.S_IXUSR & st.st_mode):