jk_cp(8) - Linux man page

Name

jk_cp - a utility to copy files including permissions and libraries

into a jail

Synopsis

jk_cp jail source

jk_cp -v jail source

Description

jk_cp will copy any file into a jail on the identical location, with identical permissions and (if required) including any required libraries. It will not copy set user id (setuid) or set group id (setgid) permissions.

jk_cp

/home/testchroot /usr/bin/cvs

will copy /usr/bin/cvs to /home/testchroot/usr/bin/cvs, and it will copy the libraries used by cvs also to the jail.

Options

-f
Force overwriting of existing files
-v
Will give verbose output
-h
The help

screen

See Also

jailkit(8) jk_check(8) jk_chrootlaunch(8) jk_chrootsh(8) jk_init(8) jk_list(8) jk_lsh(8) jk_procmailwrapper(8) jk_socketd(8)

Copyright

Copyright (C) 2003, 2004, 2005, 2006, Olivier Sessink

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

Referenced By

jk_addjailuser(8), jk_jailuser(8)