install(TargetFile, Destination, Permissions)
TargetFile
is the file which is to be copiedDestination
is the target destination(it should be a directory) whereTargetFile
will be copiedPermissions
is the specific permissions supported byos.chmod()
Note:- There are only specific permissions supported:-
[exec_all, write_all, read_all, rwe_all, read_user, write_user, exec_user]
exec_all
: permission allows every user to executeexec_user
: permission allows current user to executeread_all
: permission allows every user to read a fileread_user
: permission allows current user to read a filewrite_all
: permission allows every user to edit a filewrite_user
: permission allows every user to executerwe_all
: permission allows current user to perform read,write and executerwe_user
: permission allows current user to perform read,write and execute
- Enable directory support