{"id":443,"date":"2013-12-09T18:12:08","date_gmt":"2013-12-09T23:12:08","guid":{"rendered":"http:\/\/bitc.bme.emory.edu\/~lzhou\/blogs\/?p=443"},"modified":"2013-12-09T18:12:08","modified_gmt":"2013-12-09T23:12:08","slug":"in-chroot-environment-screen-works-only-for-root","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=443","title":{"rendered":"In chroot environment, screen works only for root"},"content":{"rendered":"<p>First the system has the following system mounting points<br \/>\n\/proc, \/sys, \/dev, \/dev\/shm, \/dev\/pts, mounted properly.<br \/>\nHowever, in some OS, the file<br \/>\n\/usr\/libexec\/pt_chown has the permission -rws&#8211;x&#8211;x<br \/>\nThis seems not working in the chroot subsystem.<br \/>\nBy changing the permission of the file \/$chroot_root\/usr\/libexec\/pt_chown to<br \/>\n-rwsr-xr-x<br \/>\nscreen works in chroot system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First the system has the following system mounting points \/proc, \/sys, \/dev, \/dev\/shm, \/dev\/pts, mounted properly. However, in some OS, the file \/usr\/libexec\/pt_chown has the permission -rws&#8211;x&#8211;x This seems not working in the chroot subsystem. By changing the permission of the file \/$chroot_root\/usr\/libexec\/pt_chown to -rwsr-xr-x screen works in chroot system.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":1,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}