Commit Graph

10 Commits

Author SHA1 Message Date
Levi Neely 3833ba2860 ollie-9p: rename 'remove' command to 'rm'
Standard name. Updated prompt and usage accordingly.
2026-07-29 20:36:32 +02:00
Levi Neely 300d07b2aa remove ollie-9p-mount binary, inline FUSE into olliesrv
The mount logic is now a library package (mount/) called directly
by `olliesrv mount`. No external binary needed.

Per-session auto-mounts are gone entirely. The mount subcommand
remains for network-transparent human access to remote servers.
2026-07-27 11:51:56 +02:00
Levi Neely 8ef22ab90d rename 9p client to ollie-9p
Avoids shadowing plan9port. Binary auto-discovers server and
identity without flags.
2026-07-27 11:44:55 +02:00
Levi Neely 666acceb0b 9p client: auto-discover aname from \$OLLIE_UNAME
Remove -A flag. The client always attaches with the UID from
\$OLLIE_UNAME. Agents use it transparently without knowing about
9P attach semantics.
2026-07-27 11:35:27 +02:00
Levi Neely 80cc32d0ee 9p: add standalone 9P client binary
Complete 9P client that replaces plan9port dependency.
Subcommands: read, write, rdwr, stat, ls, create, remove, mkdir.
Supports -a addr, -A aname for attach identity, -n for no auth.
Uses 9fans.net/go/plan9/client library (already in go.mod).
2026-07-27 11:32:26 +02:00
Levi Neely 09e4f0f678 fs: centralized permission registry; FUSE mutating operations 2026-05-21 11:50:34 +02:00
Levi Neely b381fa4b13 ollie-9p-mount: pass through actual 9P permissions
p9File.Getattr was hardcoding 0666 for all files, breaking
permission visibility in per-session mounts. Use the actual
mode from the 9P stat response instead.
2026-05-20 11:08:48 +02:00
Levi Neely c366cee82c fix: return EOF instead of EIO on read past end of file 2026-05-19 15:52:25 +02:00
Levi Neely 7368b4cfe4 fix: mount proxy uses OLLIE_UNAME so checkPerm identifies session owner 2026-05-19 15:33:27 +02:00
Levi Neely f9c9bc8969 9p: uname-based self-prompt rejection + ollie-9p-mount
Store Uname from Tattach on each connection. Reject writes to
s/{id}/prompt when the connection's uname matches the target session
(self-prompt). Cross-agent prompting remains allowed.

Add ollie-9p-mount: a FUSE-to-9P proxy that attaches with a custom
uname derived from $OLLIE_SESSION_ID. Each session gets a transparent
mount — tools use ordinary file I/O and the identity is carried by the
underlying 9P connection.

Also adds a group registry (AddGroup/RemoveGroup/InGroup) on the server
for future access control use cases.
2026-05-19 14:10:22 +02:00