精品一级少妇久久久久久久-插我舔内射18免费视频-色戒片段大尺度未删-免费爱爱网址-国产一级性生活-一级大黄毛片-日本三级理论久久人妻电影-图片区亚洲色图-黄色片在线免费观看-男人的天堂在线a无码-a级国产毛片-三级在线观看-精品久久影视-强睡邻居人妻中文字幕-亚洲成人毛片-丁香激情网-国产第九页

python設(shè)置文件權(quán)限 答案全全給你奉上

1、os.chmod()方法 此方法通過數(shù)值模式更新路徑或文件權(quán)限。該模式可采取下列值或按位或運(yùn)算組合之一:

stat.S_ISUID: Set user ID on execution.

stat.S_ISGID: Set group ID on execution.

stat.S_ENFMT: Record locking enforced.

stat.S_ISVTX: Save text image after execution.

stat.S_IREAD: Read by owner.

stat.S_IWRITE: Write by owner.

stat.S_IEXEC: Execute by owner.

stat.S_IRWXU: Read, write, and execute by owner.

stat.S_IRUSR: Read by owner.

stat.S_IWUSR: Write by owner.

stat.S_IXUSR: Execute by owner.

stat.S_IRWXG: Read, write, and execute by group.

stat.S_IRGRP: Read by group.

stat.S_IWGRP: Write by group.

stat.S_IXGRP: Execute by group.

stat.S_IRWXO: Read, write, and execute by others.

stat.S_IROTH: Read by others.

stat.S_IWOTH: Write by others.

stat.S_IXOTH: Execute by others.

2、語法:

os.chmod(path, mode);

3、參數(shù):

path: This is the path for which mode would be set.

mode: This may take one of the above mentioned values or bitwise ORedcombinations of them:

日土县| 灌南县| 丹凤县| 娄烦县| 神池县| 聂拉木县| 那坡县| 高淳县| 象州县| 麻栗坡县| 醴陵市| 文山县| 琼结县| 南开区| 甘南县| 平邑县| 方城县| 子洲县| 凤凰县| 花垣县| 镇赉县| 调兵山市| 咸丰县| 峨眉山市| 十堰市| 昆山市| 广南县| 东山县| 平顺县| 临邑县| 许昌市| 神农架林区| 阿拉善右旗| 晋宁县| 伊川县| 武定县| 赤壁市| 象山县| 海淀区| 西林县| 交口县|