{"action":"created","issue":{"url":"https://api.github.com/repos/sensepost/objection/issues/112","repository_url":"https://api.github.com/repos/sensepost/objection","labels_url":"https://api.github.com/repos/sensepost/objection/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/sensepost/objection/issues/112/comments","events_url":"https://api.github.com/repos/sensepost/objection/issues/112/events","html_url":"https://github.com/sensepost/objection/issues/112","id":343646523,"node_id":"MDU6SXNzdWUzNDM2NDY1MjM=","number":112,"title":"REPL: ls <dir> broken","user":{"login":"jazrak","id":17184955,"node_id":"MDQ6VXNlcjE3MTg0OTU1","avatar_url":"https://avatars0.githubusercontent.com/u/17184955?v=4","gravatar_id":"","url":"https://api.github.com/users/jazrak","html_url":"https://github.com/jazrak","followers_url":"https://api.github.com/users/jazrak/followers","following_url":"https://api.github.com/users/jazrak/following{/other_user}","gists_url":"https://api.github.com/users/jazrak/gists{/gist_id}","starred_url":"https://api.github.com/users/jazrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazrak/subscriptions","organizations_url":"https://api.github.com/users/jazrak/orgs","repos_url":"https://api.github.com/users/jazrak/repos","events_url":"https://api.github.com/users/jazrak/events{/privacy}","received_events_url":"https://api.github.com/users/jazrak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T14:02:01Z","updated_at":"2018-07-23T14:09:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In this case, attempting to `ls xyz` returns `Readable: no, Writeable: no`, but `cd xyz; ls` works just fine.\r\n\r\n```\r\ncom.Origin8.SpaceStation on (samsung: 7.1.1) [usb] # ls\r\nType       Last Modified            Read    Write    Hidden    Size     Name\r\n---------  -----------------------  ------  -------  --------  -------  -----------------\r\nDirectory  2018-07-23 13:27:42 GMT  True    True     False     4.0 KiB  cache\r\nDirectory  2018-07-23 13:27:42 GMT  True    True     False     4.0 KiB  code_cache\r\nDirectory  2018-07-23 13:27:38 GMT  True    False    False     4.0 KiB  lib\r\nDirectory  2018-07-23 13:28:47 GMT  True    True     False     4.0 KiB  app_OEAppSaveData\r\nDirectory  2018-07-23 13:36:57 GMT  True    True     False     4.0 KiB  shared_prefs\r\nDirectory  2018-07-23 13:28:38 GMT  True    True     False     4.0 KiB  shaders\r\nDirectory  2018-07-23 13:30:52 GMT  True    True     False     4.0 KiB  files\r\n\r\nReadable: Yes  Writable: Yes\r\ncom.Origin8.SpaceStation on (samsung: 7.1.1) [usb] # ls app_OEAppSaveData\r\n\r\nReadable: No  Writable: No\r\ncom.Origin8.SpaceStation on (samsung: 7.1.1) [usb] # cd app_OEAppSaveData\r\n/data/data/com.Origin8.SpaceStation/app_OEAppSaveData\r\ncom.Origin8.SpaceStation on (samsung: 7.1.1) [usb] # ls\r\nType    Last Modified            Read    Write    Hidden    Size     Name\r\n------  -----------------------  ------  -------  --------  -------  ---------------------\r\nFile    2018-07-23 13:54:23 GMT  True    True     False     116.0 B  0_PERSISTENT_DATA.dat\r\n\r\nReadable: Yes  Writable: Yes\r\ncom.Origin8.SpaceStation on (samsung: 7.1.1) [usb] # \r\n```"},"comment":{"url":"https://api.github.com/repos/sensepost/objection/issues/comments/407071022","html_url":"https://github.com/sensepost/objection/issues/112#issuecomment-407071022","issue_url":"https://api.github.com/repos/sensepost/objection/issues/112","id":407071022,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzA3MTAyMg==","user":{"login":"leonjza","id":1148127,"node_id":"MDQ6VXNlcjExNDgxMjc=","avatar_url":"https://avatars3.githubusercontent.com/u/1148127?v=4","gravatar_id":"","url":"https://api.github.com/users/leonjza","html_url":"https://github.com/leonjza","followers_url":"https://api.github.com/users/leonjza/followers","following_url":"https://api.github.com/users/leonjza/following{/other_user}","gists_url":"https://api.github.com/users/leonjza/gists{/gist_id}","starred_url":"https://api.github.com/users/leonjza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonjza/subscriptions","organizations_url":"https://api.github.com/users/leonjza/orgs","repos_url":"https://api.github.com/users/leonjza/repos","events_url":"https://api.github.com/users/leonjza/events{/privacy}","received_events_url":"https://api.github.com/users/leonjza/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T14:09:26Z","updated_at":"2018-07-23T14:09:26Z","author_association":"MEMBER","body":"Thanks for the report! This is primarily due to my [peanut implementation](https://github.com/sensepost/objection/blob/master/objection/hooks/android/filesystem/ls.js) for `ls` in the file manager. I am busy with a few things over in the [typescript_agent](https://github.com/sensepost/objection/tree/typescript_agent) branch atm and will improve this for sure when I get to the file manager section."}}
{"actor":{"display_login":"leonjza"}}