{"action":"created","issue":{"url":"https://api.github.com/repos/mdolidon/endlines/issues/12","repository_url":"https://api.github.com/repos/mdolidon/endlines","labels_url":"https://api.github.com/repos/mdolidon/endlines/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mdolidon/endlines/issues/12/comments","events_url":"https://api.github.com/repos/mdolidon/endlines/issues/12/events","html_url":"https://github.com/mdolidon/endlines/issues/12","id":166527125,"number":12,"title":"File lost when permissions and ownership could not be restored.","user":{"login":"mdolidon","id":6281420,"avatar_url":"https://avatars.githubusercontent.com/u/6281420?v=3","gravatar_id":"","url":"https://api.github.com/users/mdolidon","html_url":"https://github.com/mdolidon","followers_url":"https://api.github.com/users/mdolidon/followers","following_url":"https://api.github.com/users/mdolidon/following{/other_user}","gists_url":"https://api.github.com/users/mdolidon/gists{/gist_id}","starred_url":"https://api.github.com/users/mdolidon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdolidon/subscriptions","organizations_url":"https://api.github.com/users/mdolidon/orgs","repos_url":"https://api.github.com/users/mdolidon/repos","events_url":"https://api.github.com/users/mdolidon/events{/privacy}","received_events_url":"https://api.github.com/users/mdolidon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-20T08:32:20Z","updated_at":"2016-07-26T06:55:21Z","closed_at":null,"body":"Originally posted by @uuencode\r\n\r\nI was unsure if I had to open a new issue. It compiled without errors. When I try to convert a file in a directory it says:\r\n\r\nendlines linux -r /mnt/DATA/test\r\nendlines : converting files to Unix (LF)\r\nendlines : could not restore permissions for /mnt/DATA/test/aaa.txt\r\nendlines : could not restore ownership for /mnt/DATA/test/aaa.txt\r\n\r\nendlines : 1 file converted from :\r\n- 1 Windows (CR-LF)\r\n\r\nand the file is deleted. With \"sudo\" the result is the same.\r\n\r\nThank you in advance!\r\n\r\n-------\r\n\r\nMy answer :\r\n\r\nThat's a new one, and might actually be an unknown and worrysome bug. I'll look into it.\r\nCould you please show me an extract of `ls -l` for `mnt`, `DATA`, `test` and `aaa.txt`, so that I can attempt to reproduce it in a similar situation ?\r\n"},"comment":{"url":"https://api.github.com/repos/mdolidon/endlines/issues/comments/235178822","html_url":"https://github.com/mdolidon/endlines/issues/12#issuecomment-235178822","issue_url":"https://api.github.com/repos/mdolidon/endlines/issues/12","id":235178822,"user":{"login":"mdolidon","id":6281420,"avatar_url":"https://avatars.githubusercontent.com/u/6281420?v=3","gravatar_id":"","url":"https://api.github.com/users/mdolidon","html_url":"https://github.com/mdolidon","followers_url":"https://api.github.com/users/mdolidon/followers","following_url":"https://api.github.com/users/mdolidon/following{/other_user}","gists_url":"https://api.github.com/users/mdolidon/gists{/gist_id}","starred_url":"https://api.github.com/users/mdolidon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdolidon/subscriptions","organizations_url":"https://api.github.com/users/mdolidon/orgs","repos_url":"https://api.github.com/users/mdolidon/repos","events_url":"https://api.github.com/users/mdolidon/events{/privacy}","received_events_url":"https://api.github.com/users/mdolidon/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T06:55:21Z","updated_at":"2016-07-26T06:55:21Z","body":"That's crazy. I have no idea how I'll reproduce this without a genuine Ubuntu station, but I'll try when I can. It seems like there are pretty finicky write restrictions going on here. In the meanwhile, it's me who thanks you for finding this situation and documenting it adequately. I'll keep this issue posted, but I'll need some time.\r\n "}}
{"actor":{"display_login":"mdolidon"}}