{"action":"created","issue":{"url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/54","repository_url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional","labels_url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/54/comments","events_url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/54/events","html_url":"https://github.com/WASdev/ci.docker.websphere-traditional/issues/54","id":209477389,"number":54,"title":"Issue with file permissions","user":{"login":"kevinpauli","id":2067494,"avatar_url":"https://avatars.githubusercontent.com/u/2067494?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpauli","html_url":"https://github.com/kevinpauli","followers_url":"https://api.github.com/users/kevinpauli/followers","following_url":"https://api.github.com/users/kevinpauli/following{/other_user}","gists_url":"https://api.github.com/users/kevinpauli/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpauli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpauli/subscriptions","organizations_url":"https://api.github.com/users/kevinpauli/orgs","repos_url":"https://api.github.com/users/kevinpauli/repos","events_url":"https://api.github.com/users/kevinpauli/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpauli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-22T14:54:55Z","updated_at":"2017-02-27T21:15:40Z","closed_at":null,"body":"When attempting to build the `dmgr` image I am getting \r\n\r\n`java.io.FileNotFoundException: /opt/IBM/WebSphere/AppServer/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)`\r\n\r\nCould this be because in websphere-traditional:nd-install (the base image) after the ADD of the tar, the file permissions are all `drwxr-xr-x 3 root root` and the USER has been set to `was`?\r\n\r\nFYI I was able to workaround it by removing the section that creates the `was` user, which makes everything execute as root."},"comment":{"url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/comments/282855704","html_url":"https://github.com/WASdev/ci.docker.websphere-traditional/issues/54#issuecomment-282855704","issue_url":"https://api.github.com/repos/WASdev/ci.docker.websphere-traditional/issues/54","id":282855704,"user":{"login":"davidcurrie","id":5929680,"avatar_url":"https://avatars.githubusercontent.com/u/5929680?v=3","gravatar_id":"","url":"https://api.github.com/users/davidcurrie","html_url":"https://github.com/davidcurrie","followers_url":"https://api.github.com/users/davidcurrie/followers","following_url":"https://api.github.com/users/davidcurrie/following{/other_user}","gists_url":"https://api.github.com/users/davidcurrie/gists{/gist_id}","starred_url":"https://api.github.com/users/davidcurrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidcurrie/subscriptions","organizations_url":"https://api.github.com/users/davidcurrie/orgs","repos_url":"https://api.github.com/users/davidcurrie/repos","events_url":"https://api.github.com/users/davidcurrie/events{/privacy}","received_events_url":"https://api.github.com/users/davidcurrie/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T21:15:40Z","updated_at":"2017-02-27T21:15:40Z","body":"Hi Kevin - you shouldn't see this if the tar was created as the `was` user as the ADD command unpacks as root (regardless of the current user) so you should get the same user permissions as the files in the tar. It will take me a while to verify that this is working as designed but if you could take a look at what permissions are being created in your tar file that would be interesting."}}
{"actor":{"display_login":"davidcurrie"}}