Fix subdirfs chmod

This commit is contained in:
2025-10-15 23:07:05 -05:00
parent 3575afab91
commit 763e0a954b

View File

@@ -155,12 +155,12 @@ namespace Tesses::Framework::Filesystem
}
bool SubdirFilesystem::StatVFS(VFSPath path, StatVFSData& vfsData)
{
return this->parent->StatVFS(path, vfsData);
return this->parent->StatVFS(ToParent(path), vfsData);
}
void SubdirFilesystem::Chmod(VFSPath path, uint32_t mode)
{
return this->parent->Chmod(path, mode);
return this->parent->Chmod(ToParent(path), mode);
}
}