Service vfs real checkPermissions
From eyeOS Wiki
Contents |
Syntax
vfs('real_checkPermissions', array($file))
or
service('vfs', 'real_checkPermissions', array($file))
Description
Checks whether there are enough permissions with a non-abstract file.
Arguments
file: file to be checked.
Return values
I the user is not the root user or the file is not property of the current user (the file is not located in the user's files directory), returns false. Else, returns true.

