chroot {unix} | R Documentation |
Change Root Dir
Description
Changes the root directory of the calling process to that specified in path.
This directory will be used for pathnames beginning with /
.
Only a privileged process (i.e. sudo) may call chroot()
.
Usage
chroot(path = getwd())
Arguments
path |
directory of the new root |
Details
This call changes an ingredient in the pathname resolution process and does nothing else. In particular, it is not intended to be used for any kind of security purpose, neither to fully sandbox a process nor to restrict filesystem system calls.
References
[Package unix version 1.5.8 Index]