{"action":"opened","issue":{"url":"https://api.github.com/repos/netblue30/firejail/issues/2301","repository_url":"https://api.github.com/repos/netblue30/firejail","labels_url":"https://api.github.com/repos/netblue30/firejail/issues/2301/labels{/name}","comments_url":"https://api.github.com/repos/netblue30/firejail/issues/2301/comments","events_url":"https://api.github.com/repos/netblue30/firejail/issues/2301/events","html_url":"https://github.com/netblue30/firejail/issues/2301","id":392148364,"node_id":"MDU6SXNzdWUzOTIxNDgzNjQ=","number":2301,"title":"File transfer fails on large files","user":{"login":"laniakea64","id":16628411,"node_id":"MDQ6VXNlcjE2NjI4NDEx","avatar_url":"https://avatars2.githubusercontent.com/u/16628411?v=4","gravatar_id":"","url":"https://api.github.com/users/laniakea64","html_url":"https://github.com/laniakea64","followers_url":"https://api.github.com/users/laniakea64/followers","following_url":"https://api.github.com/users/laniakea64/following{/other_user}","gists_url":"https://api.github.com/users/laniakea64/gists{/gist_id}","starred_url":"https://api.github.com/users/laniakea64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laniakea64/subscriptions","organizations_url":"https://api.github.com/users/laniakea64/orgs","repos_url":"https://api.github.com/users/laniakea64/repos","events_url":"https://api.github.com/users/laniakea64/events{/privacy}","received_events_url":"https://api.github.com/users/laniakea64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T13:06:38Z","updated_at":"2018-12-18T13:06:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Xubuntu 18.04 64-bit\r\nfirejail self build from https://github.com/netblue30/firejail/commit/9eca281abbb24f97fdb92c06018cd2bd0a5b215e\r\n```\r\n$ firejail --version\r\nfirejail version 0.9.57\r\n\r\nCompile time support:\r\n        - AppArmor support is enabled\r\n        - AppImage support is enabled\r\n        - chroot support is enabled\r\n        - file and directory whitelisting support is enabled\r\n        - file transfer support is enabled\r\n        - networking support is enabled\r\n        - overlayfs support is enabled\r\n        - private-home support is enabled\r\n        - seccomp-bpf support is enabled\r\n        - user namespace support is enabled\r\n        - X11 sandboxing support is enabled\r\n\r\n\r\n```\r\n\r\n**Steps to reproduce**\r\n\r\n1) check free space available in `/run` with `df -Th`, and create or find a file larger than that (On my system I used a 2 GB file)\r\n\r\n2) run `firejail --noprofile --overlay-tmpfs`\r\n\r\n3) Try to get the large file from (1) using `firejail --get=<pid> path/to/the/file`\r\n\r\n**Expected results**\r\n\r\nAt (3), file should be copied from the overlay-tmpfs to the working directory\r\n\r\n**Actual results**\r\n\r\nAt (3) it sits for a short time, then exits with status 1 without anything seeming to happen.  I think it's related to the file being bigger than free space in `/run` because of this -\r\n\r\nhttps://github.com/netblue30/firejail/blob/9eca281abbb24f97fdb92c06018cd2bd0a5b215e/src/firejail/ls.c#L316-L345\r\n\r\nAnd indeed, a file does appear at `/run/firejail/tmpget-...` while the `firejail --get=...` command is running."}}
{"actor":{"display_login":"laniakea64"}}