阅读背景:

使用Python检查Linux中的文件权限

来源:互联网 

I'm writing a script to check permissions of files in user's directories and if they're not acceptable I'll be warning them, but I want to check permissions of not just the logged in user, but also group and others. How can i do this? It seems to me that .access() in Python can only check the permissions for the user running the script.I'm writing a script to check permissions of fi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: