mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fix subdirfs chmod
This commit is contained in:
@@ -155,12 +155,12 @@ namespace Tesses::Framework::Filesystem
|
|||||||
}
|
}
|
||||||
bool SubdirFilesystem::StatVFS(VFSPath path, StatVFSData& vfsData)
|
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)
|
void SubdirFilesystem::Chmod(VFSPath path, uint32_t mode)
|
||||||
{
|
{
|
||||||
return this->parent->Chmod(path, mode);
|
return this->parent->Chmod(ToParent(path), mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user