{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/legacy-homebrew/issues/50602","repository_url":"https://api.github.com/repos/Homebrew/legacy-homebrew","labels_url":"https://api.github.com/repos/Homebrew/legacy-homebrew/issues/50602/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/legacy-homebrew/issues/50602/comments","events_url":"https://api.github.com/repos/Homebrew/legacy-homebrew/issues/50602/events","html_url":"https://github.com/Homebrew/legacy-homebrew/issues/50602","id":145141044,"number":50602,"title":"encfs: sandboxed test fails, unsandboxed succeeds","user":{"login":"ilovezfs","id":5268928,"avatar_url":"https://avatars.githubusercontent.com/u/5268928?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovezfs","html_url":"https://github.com/ilovezfs","followers_url":"https://api.github.com/users/ilovezfs/followers","following_url":"https://api.github.com/users/ilovezfs/following{/other_user}","gists_url":"https://api.github.com/users/ilovezfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovezfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovezfs/subscriptions","organizations_url":"https://api.github.com/users/ilovezfs/orgs","repos_url":"https://api.github.com/users/ilovezfs/repos","events_url":"https://api.github.com/users/ilovezfs/events{/privacy}","received_events_url":"https://api.github.com/users/ilovezfs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/legacy-homebrew/labels/sandbox","name":"sandbox","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T10:09:57Z","updated_at":"2016-04-09T18:32:13Z","closed_at":"2016-04-09T18:32:13Z","body":"Reported to upstream: https://github.com/vgough/encfs/issues/151\r\n\r\n```\r\niMac-TMP:homebrew joe$ brew test -v encfs\r\nTesting homebrew/fuse/encfs\r\n==> Using the sandbox\r\n/usr/bin/sandbox-exec -f /tmp/homebrew20160401-75876-oebm9n.sb /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/test.rb /usr/local/Library/Taps/homebrew/homebrew-fuse/Formula/encfs.rb -v\r\n==> yes | /usr/local/Cellar/encfs/1.8.1_1/bin/encfs --standard --extpass=/private/tmp/encfs20160401-75877-1kvgllv/print-password /private/tmp/encfs20160401-75877-1kvgllv/a /private/tmp/encfs20160401-75877-1kvgllv/b\r\nThe directory \"/private/tmp/encfs20160401-75877-1kvgllv/a/\" does not exist. Should it be created? (y,n) The directory \"/private/tmp/encfs20160401-75877-1kvgllv/b\" does not exist. Should it be created? (y,n) Creating new encrypted volume.\r\nStandard configuration selected.\r\n\r\nConfiguration finished.  The filesystem to be created has\r\nthe following properties:\r\nthe OSXFUSE file system is not available (-1)\r\nfuse failed.  Common problems:\r\n - fuse kernel module not installed (modprobe fuse)\r\n - invalid options -- see usage message\r\nFilesystem cipher: \"ssl/aes\", version 3:0:2\r\nFilename encoding: \"nameio/block\", version 4:0:2\r\nKey Size: 192 bits\r\nBlock Size: 1024 bytes\r\nEach file contains 8 byte header with unique IV data.\r\nFilenames encoded using IV chaining mode.\r\nFile holes passed through to ciphertext.\r\n\r\nNow you will need to enter a password for your filesystem.\r\nYou will need to remember this password, as there is absolutely\r\nno recovery mechanism.  However, the password can be changed\r\nlater using encfsctl.\r\n\r\nthe OSXFUSE file system is not available (1)\r\nfuse failed.  Common problems:\r\n - fuse kernel module not installed (modprobe fuse)\r\n - invalid options -- see usage message\r\nFilesystem cipher: \"ssl/aes\", version 3:0:2\r\nFilename encoding: \"nameio/block\", version 4:0:2\r\nKey Size: 192 bits\r\nBlock Size: 1024 bytes\r\nEach file contains 8 byte header with unique IV data.\r\nFilenames encoded using IV chaining mode.\r\nFile holes passed through to ciphertext.\r\n\r\nNow you will need to enter a password for your filesystem.\r\nYou will need to remember this password, as there is absolutely\r\nno recovery mechanism.  However, the password can be changed\r\nlater using encfsctl.\r\n\r\n==> Sandbox log\r\nApr  1 03:06:56 sandboxd[128]: encfs(75889) deny forbidden-exec-sugid\r\nError: homebrew/fuse/encfs: failed\r\nFailed executing: yes | /usr/local/Cellar/encfs/1.8.1_1/bin/encfs --standard --extpass=/private/tmp/encfs20160401-75877-1kvgllv/print-password /private/tmp/encfs20160401-75877-1kvgllv/a /private/tmp/encfs20160401-75877-1kvgllv/b \r\n/usr/local/Library/Homebrew/formula.rb:1481:in `block in system'\r\n/usr/local/Library/Homebrew/formula.rb:1418:in `open'\r\n/usr/local/Library/Homebrew/formula.rb:1418:in `system'\r\n/usr/local/Library/Taps/homebrew/homebrew-fuse/Formula/encfs.rb:38:in `block in <class:Encfs>'\r\n/usr/local/Library/Homebrew/formula.rb:1327:in `block in run_test'\r\n/usr/local/Library/Homebrew/extend/fileutils.rb:37:in `mktemp'\r\n/usr/local/Library/Homebrew/formula.rb:1323:in `run_test'\r\n/usr/local/Library/Homebrew/test.rb:28:in `block in <main>'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'\r\n/usr/local/Library/Homebrew/test.rb:27:in `<main>'\r\n```\r\n```\r\niMac-TMP:homebrew joe$ brew test -vd encfs\r\n/usr/local/Library/brew.rb (Formulary::TapLoader): loading /usr/local/Library/Taps/homebrew/homebrew-fuse/Formula/encfs.rb\r\nTesting homebrew/fuse/encfs\r\nWarning: The sandbox cannot be used in debug or interactive mode.\r\n/usr/local/Library/Homebrew/test.rb (Formulary::FromPathLoader): loading /usr/local/Library/Taps/homebrew/homebrew-fuse/Formula/encfs.rb\r\n==> yes | /usr/local/Cellar/encfs/1.8.1_1/bin/encfs --standard --extpass=/private/tmp/encfs20160401-75930-952ezh/print-password /private/tmp/encfs20160401-75930-952ezh/a /private/tmp/encfs20160401-75930-952ezh/b\r\nThe directory \"/private/tmp/encfs20160401-75930-952ezh/a/\" does not exist. Should it be created? (y,n) The directory \"/private/tmp/encfs20160401-75930-952ezh/b\" does not exist. Should it be created? (y,n) Creating new encrypted volume.\r\nStandard configuration selected.\r\n\r\nConfiguration finished.  The filesystem to be created has\r\nthe following properties:\r\n==> umount /private/tmp/encfs20160401-75930-952ezh/b\r\niMac-TMP:homebrew joe$ \r\n```"}}