{"action":"created","issue":{"url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/216","repository_url":"https://api.github.com/repos/rfxn/linux-malware-detect","labels_url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/216/comments","events_url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/216/events","html_url":"https://github.com/rfxn/linux-malware-detect/issues/216","id":215352473,"number":216,"title":"<space> and \";\" in folder or file names returns error","user":{"login":"trillex","id":6444691,"avatar_url":"https://avatars1.githubusercontent.com/u/6444691?v=3","gravatar_id":"","url":"https://api.github.com/users/trillex","html_url":"https://github.com/trillex","followers_url":"https://api.github.com/users/trillex/followers","following_url":"https://api.github.com/users/trillex/following{/other_user}","gists_url":"https://api.github.com/users/trillex/gists{/gist_id}","starred_url":"https://api.github.com/users/trillex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trillex/subscriptions","organizations_url":"https://api.github.com/users/trillex/orgs","repos_url":"https://api.github.com/users/trillex/repos","events_url":"https://api.github.com/users/trillex/events{/privacy}","received_events_url":"https://api.github.com/users/trillex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-20T08:18:44Z","updated_at":"2017-04-15T11:23:39Z","closed_at":null,"body":"After automatically updating to 1.6, we are seeing a lot of errors regarding file or folder names with either \"<space>\" or \";\"\r\n\r\n`maldet(31158): {scan} error could not read or hash ../httpdocs/tmp/templates_c/ec48cfb70f1f1843c5a24d2b3ae670db^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php, do we have permission?`\r\n\r\nThe error log file names look like this (chosen at random):\r\n\r\n```\r\n$ grep error /var/log/lmd.log | awk '{print $(NF-5),$(NF-4)}' | sort -u | cut -d\\/ -f2-\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/05a6607b2cafb3044d0fba182f16cc5d^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/06ebe678c3e8cff0dd3eeee6d282dfe4^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/08d5d3ecb1e3f4d7f7784be05920d8bd^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/08e5e6c1771b5a8fd577efb93d76cbed^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/09f7fc6f7e25129a942e1fd01ad36098^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/159b51736ee22a4ad0496aeed741fac5^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/1bd32359ccf28fcae4352434a44387c0^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/2238715a188dde960e80abbc1e5fd697^d699142273f511bc66d93eefa94743b050a14200.module_db_tpl. navigation-tpl-009.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/a097cae645ecf5e0aaaed5577eb8b295^02234e5b263ba20351bf2a5ebb4b57d4402a3cab.module_file_tpl.MenuManager;simple_navigation.tpl.php,\r\nusr/local/pem/vhosts/112688/webspace/httpdocs/tmp/templates_c/fe6027eebaf8799aa593796c10daa75e^02234e5b263ba20351bf2a5ebb4b57d4402a3cab.module_file_tpl.MenuManager;simple_navigation.tpl.php,\r\n```\r\n\r\nLet me know if you need additional information. "},"comment":{"url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/comments/294287306","html_url":"https://github.com/rfxn/linux-malware-detect/issues/216#issuecomment-294287306","issue_url":"https://api.github.com/repos/rfxn/linux-malware-detect/issues/216","id":294287306,"user":{"login":"magician7","id":2359284,"avatar_url":"https://avatars2.githubusercontent.com/u/2359284?v=3","gravatar_id":"","url":"https://api.github.com/users/magician7","html_url":"https://github.com/magician7","followers_url":"https://api.github.com/users/magician7/followers","following_url":"https://api.github.com/users/magician7/following{/other_user}","gists_url":"https://api.github.com/users/magician7/gists{/gist_id}","starred_url":"https://api.github.com/users/magician7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magician7/subscriptions","organizations_url":"https://api.github.com/users/magician7/orgs","repos_url":"https://api.github.com/users/magician7/repos","events_url":"https://api.github.com/users/magician7/events{/privacy}","received_events_url":"https://api.github.com/users/magician7/received_events","type":"User","site_admin":false},"created_at":"2017-04-15T11:23:39Z","updated_at":"2017-04-15T11:23:39Z","body":"It's probably related to this - if I scan files which have spaces in filename then maldet hangs up.\r\nIn htop it looks like this:\r\nbash /usr/local/sbin/maldet -a /home/maxpool/domains/maxpool.pl/public_html/beta/images\r\n12117 root       20   0 13860  1056   888 S  0.0  0.0  0:00.00 │              ├─ awk {print$1}\r\n12116 root       20   0 13952  2724   420 S  0.0  0.1  0:00.00 │              └─ bash /usr/local/sbin/maldet -a /home/maxpool/domains/maxpool.pl/public_html/beta/images\r\n12118 root       20   0  6720   700   600 S  0.0  0.0  0:00.00 │                 └─ /usr/bin/md5sum /home/maxpool/domains/maxpool.pl/public_html/beta/images/maxpool/galeria/all/IMG_5556 - Kopia.jpg"}}
{"actor":{"display_login":"magician7"}}