{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3463","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3463/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3463/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3463/events","html_url":"https://github.com/minetest/minetest/issues/3463","id":122850848,"number":3463,"title":"Cache Directory Being Written One Directory Higher than Where Minetest is Executed From","user":{"login":"LazyJ","id":7246102,"avatar_url":"https://avatars.githubusercontent.com/u/7246102?v=3","gravatar_id":"","url":"https://api.github.com/users/LazyJ","html_url":"https://github.com/LazyJ","followers_url":"https://api.github.com/users/LazyJ/followers","following_url":"https://api.github.com/users/LazyJ/following{/other_user}","gists_url":"https://api.github.com/users/LazyJ/gists{/gist_id}","starred_url":"https://api.github.com/users/LazyJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LazyJ/subscriptions","organizations_url":"https://api.github.com/users/LazyJ/orgs","repos_url":"https://api.github.com/users/LazyJ/repos","events_url":"https://api.github.com/users/LazyJ/events{/privacy}","received_events_url":"https://api.github.com/users/LazyJ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Client%20/%20Audiovisuals","name":"@ Client / Audiovisuals","color":"009800"},{"url":"https://api.github.com/repos/minetest/minetest/labels/bug","name":"bug","color":"ff5050"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-18T00:16:52Z","updated_at":"2015-12-29T23:15:53Z","closed_at":"2015-12-29T23:15:13Z","body":"**Minetest Engine (2015_12_17):**  bde6194\r\n**Minetest Game (2015_12_12):** [b57ecb9](https://github.com/minetest/minetest_game/commit/b57ecb94df2bfc1c6383a3d35465e22b683821ee)\r\n**OS:** Linux Mint 17.3\r\n\r\nFor the past couple years, I have been using a script to start Minetest from anywhere in the terminal.\r\n```\r\n#!/bin/bash\r\n\r\n~/minetest_stuff/minetest/bin/./minetest --logfile ''\r\n```\r\nRecently, I noticed \"cache\" beginning to appear in odd places in my computer. After some testing, I found that Minetest was now writing the cache one directory above from where ever Minetest was started from. \r\n\r\nTest:\r\n1. File path:    ~/minetest_stuff/test1/test2/test3/minetest/bin/\r\n2. cd to test1\r\n3. Execute ./minetest from test1:  test2/test3/minetest/bin/./minetest\r\n\r\nResult:\r\n* No cache directory created in ~/minetest_stuff/test1/test2/test3/minetest/\r\n* cache is created in ~/minetest_stuff/"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/167898170","html_url":"https://github.com/minetest/minetest/issues/3463#issuecomment-167898170","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3463","id":167898170,"user":{"login":"est31","id":8872119,"avatar_url":"https://avatars.githubusercontent.com/u/8872119?v=3","gravatar_id":"","url":"https://api.github.com/users/est31","html_url":"https://github.com/est31","followers_url":"https://api.github.com/users/est31/followers","following_url":"https://api.github.com/users/est31/following{/other_user}","gists_url":"https://api.github.com/users/est31/gists{/gist_id}","starred_url":"https://api.github.com/users/est31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/est31/subscriptions","organizations_url":"https://api.github.com/users/est31/orgs","repos_url":"https://api.github.com/users/est31/repos","events_url":"https://api.github.com/users/est31/events{/privacy}","received_events_url":"https://api.github.com/users/est31/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T23:15:53Z","updated_at":"2015-12-29T23:15:53Z","body":"Ah sorry, mentioned wrong commit. Its 9719aded5430dd57591310c9cae06944dc345d42 of course."}}