{"action":"created","issue":{"url":"https://api.github.com/repos/netblue30/firejail/issues/699","repository_url":"https://api.github.com/repos/netblue30/firejail","labels_url":"https://api.github.com/repos/netblue30/firejail/issues/699/labels{/name}","comments_url":"https://api.github.com/repos/netblue30/firejail/issues/699/comments","events_url":"https://api.github.com/repos/netblue30/firejail/issues/699/events","html_url":"https://github.com/netblue30/firejail/issues/699","id":170701418,"number":699,"title":"Modifying firefox install dir inside jail but not outside","user":{"login":"unixpipecentipede","id":16703377,"avatar_url":"https://avatars.githubusercontent.com/u/16703377?v=3","gravatar_id":"","url":"https://api.github.com/users/unixpipecentipede","html_url":"https://github.com/unixpipecentipede","followers_url":"https://api.github.com/users/unixpipecentipede/followers","following_url":"https://api.github.com/users/unixpipecentipede/following{/other_user}","gists_url":"https://api.github.com/users/unixpipecentipede/gists{/gist_id}","starred_url":"https://api.github.com/users/unixpipecentipede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixpipecentipede/subscriptions","organizations_url":"https://api.github.com/users/unixpipecentipede/orgs","repos_url":"https://api.github.com/users/unixpipecentipede/repos","events_url":"https://api.github.com/users/unixpipecentipede/events{/privacy}","received_events_url":"https://api.github.com/users/unixpipecentipede/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-11T17:32:39Z","updated_at":"2016-08-12T23:45:41Z","closed_at":null,"body":"Is it possible to create/copy new files into a jail filesystem?\r\n\r\nFor example, a `firefox-esr` instance running in a jail with 2 new files in the installation directory:\r\n\r\n    /usr/lib/firefox-esr/defaults/pref/local-settings.js\r\n    /usr/lib/firefox-esr/mozilla.cfg\r\n\r\nIn the jail firefox acknowledges the files. In the original filesystem everything remains intact, thus not altering the original `firefox-esr` installation directory upon closing the jail.\r\n\r\nI'm not familiar with the subject but in proper terms the original installation dir should be copied into the jail along with the new files (not mounted) before running firefox?"},"comment":{"url":"https://api.github.com/repos/netblue30/firejail/issues/comments/239585409","html_url":"https://github.com/netblue30/firejail/issues/699#issuecomment-239585409","issue_url":"https://api.github.com/repos/netblue30/firejail/issues/699","id":239585409,"user":{"login":"chiraag-nataraj","id":14947779,"avatar_url":"https://avatars.githubusercontent.com/u/14947779?v=3","gravatar_id":"","url":"https://api.github.com/users/chiraag-nataraj","html_url":"https://github.com/chiraag-nataraj","followers_url":"https://api.github.com/users/chiraag-nataraj/followers","following_url":"https://api.github.com/users/chiraag-nataraj/following{/other_user}","gists_url":"https://api.github.com/users/chiraag-nataraj/gists{/gist_id}","starred_url":"https://api.github.com/users/chiraag-nataraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiraag-nataraj/subscriptions","organizations_url":"https://api.github.com/users/chiraag-nataraj/orgs","repos_url":"https://api.github.com/users/chiraag-nataraj/repos","events_url":"https://api.github.com/users/chiraag-nataraj/events{/privacy}","received_events_url":"https://api.github.com/users/chiraag-nataraj/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T23:45:41Z","updated_at":"2016-08-12T23:45:41Z","body":"Hmmm....so I guess the only way that would work is if you do a overlay-tmpfs on top of /usr/lib/firefox-esr. Actually, that might be the easier way (without scripts) - do an overlay-tmpfs between the original /usr/lib/firefox-esr and the directory containing mozilla.cfg and between the original /usr/lib/firefox-esr/defaults/prefs and the directory containing local-settings.js"}}
{"actor":{"display_login":"chiraag-nataraj"}}