06 2024 档案

摘要:Base permission mode: file 666, dir 777, for UGO, will effected by the umask and ACL. Umask: 022 without write, for will affect the base permission mo 阅读全文
posted @ 2024-06-25 15:23 vivi~ 阅读(15) 评论(0) 推荐(0) 编辑
摘要:在Windows系统中,安全描述符(SD)和访问控制列表(ACL)是用来管理文件和目录的安全和权限的两个重要概念。它们之间既有区别也有联系。下面是对这两个概念的详细解释: 安全描述符(Security Descriptor, SD) 安全描述符是一个结构,它包含了与对象(如文件、目录、进程等)相关的 阅读全文
posted @ 2024-06-23 18:11 vivi~ 阅读(21) 评论(0) 推荐(0) 编辑
摘要:文件系统格式 windows: FAT, NTFS; Linux: ext, ext1/2/3/4, xfs; 网络: NFS, SMB(samba SMB/CIFS) 云: VFS: Linux & Mac OS 在文件系统之上虚拟出一层文件系统,Virtual FS; POSIX: portab 阅读全文
posted @ 2024-06-23 14:02 vivi~ 阅读(116) 评论(3) 推荐(1) 编辑
摘要:pathlib.Path("a.crt").write_text(a[0]) p.chmod(0o444) Path.cwd() p.write_bytes(b'Binary file contents') p.read_bytes() Path('setup.py').exists() class 阅读全文
posted @ 2024-06-07 15:33 vivi~ 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示