精品一级少妇久久久久久久-插我舔内射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:

九江县| 连云港市| 揭西县| 阿坝县| 偃师市| 沈阳市| 金溪县| 徐汇区| 文昌市| 山东| 娱乐| 榆树市| 伊川县| 广昌县| 平阴县| 定远县| 会昌县| 凭祥市| 乌什县| 台山市| 白玉县| 通许县| 衡南县| 监利县| 潍坊市| 桦甸市| 辰溪县| 溧水县| 阜城县| 安庆市| 九寨沟县| 施甸县| 革吉县| 周口市| 黔东| 大邑县| 揭东县| 金秀| 巴中市| 修水县| 蒙山县|