(path, mode)
| 914 | // === METADATA OPERATIONS === |
| 915 | |
| 916 | chmodSync(path, mode) { |
| 917 | const entry = this.#getEntry(path, 'chmod', true); |
| 918 | // Preserve file type bits, update permission bits |
| 919 | entry.mode = (entry.mode & ~0o7777) | (mode & 0o7777); |
| 920 | entry.ctime = DateNow(); |
| 921 | } |
| 922 | |
| 923 | chownSync(path, uid, gid) { |
| 924 | const entry = this.#getEntry(path, 'chown', true); |