schecks.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:BotBot 作者: jackstanek 项目源码 文件源码
def file_group_executable(path):
    """Check if a file should be group executable"""
    mode = path.stat().mode
    if stat.S_ISDIR(mode):
        return
    if bool(stat.S_IXUSR & mode) and not bool(stat.S_IXGRP & mode):
        return 'PROB_FILE_NOT_GRPEXEC'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号