← Về thư mục
openai4s/security/permissions.py
- harden_dir · function · L38-L40 — def harden_dir(path: Path) -> bool
- harden_file · function · L43-L45 — def harden_file(path: Path) -> bool
- harden_db · function · L48-L60 — def harden_db(db_path: Path) -> bool
- _chmod · function · L63-L75 — def _chmod(path: Path, mode: int) -> bool
- verify · function · L78-L84 — def verify(path: Path, mode: int) -> bool
- is_owner_only · function · L87-L94 — def is_owner_only(path: Path) -> bool
- posture · function · L97-L110 — def posture(data_dir: Path, db_path: Path) -> dict
- fsync_dir · function · L113-L141 — def fsync_dir(directory: "Path") -> None