added: functions: chmod, chown

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@587 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-02-16 18:34:41 +00:00
parent 4fe3d4339f
commit 87747fab06
17 changed files with 275 additions and 60 deletions

View File

@@ -676,6 +676,14 @@ bool Request::HasReadExecAccess(const Item & item)
}
bool Request::HasReadExecAccessForRoot(const Item & item)
{
// there must be at least one 'x' (for the root)
return (item.privileges & 0111) != 0;
}
// returning true if we can create a thread in the current directory
bool Request::CanCreateThread(bool check_root)
{