server: remove restrictive create guard, allow creates in all directories

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-14 16:24:06 +02:00
parent da3412bb13
commit 64dd815388
1 changed files with 0 additions and 3 deletions

View File

@ -447,9 +447,6 @@ func (s *Server) create(cs *connState, fc *plan9.Fcall) *plan9.Fcall {
if !ok {
return errFcall(fc, "bad fid")
}
if f.path != "/a" && f.path != "/p" && f.path != "/pl" && f.path != "/sk" && f.path != "/t" {
return errFcall(fc, "create not supported")
}
if fc.Perm&plan9.DMDIR != 0 {
return errFcall(fc, "mkdir not supported")
}