Bug 239012

Summary: jexec(8) doesn't change directory into the user's home directory in jail
Product: Documentation Reporter: Yuri Victorovich <yuri>
Component: DocumentationAssignee: freebsd-doc mailing list <doc>
Status: New ---    
Severity: Affects Only Me CC: chris, mizhka
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer 2019-07-06 06:04:38 UTC
When the user set with -U {uid}, jexec properly sets the HOME environment variable, but doesn't chdir into this directory, and runs the command in /.
Comment 1 Yuri Victorovich freebsd_committer 2019-07-06 06:18:57 UTC
Actually, there is an undocumented argument -l (clean) which does what the subject asks, and which needs to be documented in the man page.
Comment 2 Michael Zhilin 2019-08-22 13:49:30 UTC
Hi, yuri!

I see man page contains "-l" parameter according to:

Is it not enough?