{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/1019","repository_url":"https://api.github.com/repos/jupyterhub/jupyterhub","labels_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/1019/comments","events_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/1019/events","html_url":"https://github.com/jupyterhub/jupyterhub/issues/1019","id":213570083,"number":1019,"title":"Jupyterhub with AFS home directories","user":{"login":"JMurph2015","id":6632756,"avatar_url":"https://avatars1.githubusercontent.com/u/6632756?v=3","gravatar_id":"","url":"https://api.github.com/users/JMurph2015","html_url":"https://github.com/JMurph2015","followers_url":"https://api.github.com/users/JMurph2015/followers","following_url":"https://api.github.com/users/JMurph2015/following{/other_user}","gists_url":"https://api.github.com/users/JMurph2015/gists{/gist_id}","starred_url":"https://api.github.com/users/JMurph2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMurph2015/subscriptions","organizations_url":"https://api.github.com/users/JMurph2015/orgs","repos_url":"https://api.github.com/users/JMurph2015/repos","events_url":"https://api.github.com/users/JMurph2015/events{/privacy}","received_events_url":"https://api.github.com/users/JMurph2015/received_events","type":"User","site_admin":false},"labels":[{"id":388740769,"url":"https://api.github.com/repos/jupyterhub/jupyterhub/labels/needs:%20more%20user%20information","name":"needs: more user information","color":"c2e0c6","default":false},{"id":106589228,"url":"https://api.github.com/repos/jupyterhub/jupyterhub/labels/question","name":"question","color":"Cfaef7","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-12T00:18:01Z","updated_at":"2017-04-28T21:23:51Z","closed_at":"2017-04-28T21:23:51Z","body":"I would like to set up JupyterHub for use on a system where most users have home directories on an AFS system.\r\nHow to reproduce: attempt to log in to a Jupyterhub using an account which has an AFS directory as its home directory, and this directory is not writable by the local root.\r\n\r\n**What you expected to happen**\r\nExpected the write access to be delegated to the user login, and in theory the AFS tokens would be obtained and everything would be happy because the PAM magic used for this process in SSH works.\r\n**What actually happens**\r\nThe spawner appears to run as root which has write access to a shockingly small number of things on this server, and it gets confused and throws the error \r\n`IPython parent '/afs/<my home dir>' is not a writable location, using a temp directory.`\r\n\r\n`# jupyterhub --version\r\n0.7.2\r\n`\r\n\r\n```\r\n# jupyterhub troubleshoot\r\n[I 2017-03-11 19:03:33.449 JupyterHub app:724] Loading cookie_secret from /root/jupyterhub_cookie_secret\r\n[W 2017-03-11 19:03:33.482 JupyterHub app:365] \r\n    Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.\r\n    Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.\r\n    \r\n[W 2017-03-11 19:03:33.485 JupyterHub app:864] No admin users, admin interface will be unavailable.\r\n[W 2017-03-11 19:03:33.485 JupyterHub app:865] Add any administrative users to `c.Authenticator.admin_users` in config.\r\n[I 2017-03-11 19:03:33.485 JupyterHub app:892] Not using whitelist. Any authenticated user will be allowed.\r\n[I 2017-03-11 19:03:33.496 JupyterHub app:1453] Hub API listening on http://127.0.0.1:8081/hub/\r\n[I 2017-03-11 19:03:33.498 JupyterHub app:1176] Starting proxy @ http://*:8000/\r\n19:03:33.563 - info: [ConfigProxy] Proxying https://*:8000 to http://127.0.0.1:8081\r\n19:03:33.564 - info: [ConfigProxy] Proxy API at http://127.0.0.1:8001/api/routes\r\n[I 2017-03-11 19:03:33.601 JupyterHub app:1485] JupyterHub is now running at http://127.0.0.1:8000/```\r\n"},"comment":{"url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/comments/298110065","html_url":"https://github.com/jupyterhub/jupyterhub/issues/1019#issuecomment-298110065","issue_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/1019","id":298110065,"user":{"login":"willingc","id":2680980,"avatar_url":"https://avatars0.githubusercontent.com/u/2680980?v=3","gravatar_id":"","url":"https://api.github.com/users/willingc","html_url":"https://github.com/willingc","followers_url":"https://api.github.com/users/willingc/followers","following_url":"https://api.github.com/users/willingc/following{/other_user}","gists_url":"https://api.github.com/users/willingc/gists{/gist_id}","starred_url":"https://api.github.com/users/willingc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willingc/subscriptions","organizations_url":"https://api.github.com/users/willingc/orgs","repos_url":"https://api.github.com/users/willingc/repos","events_url":"https://api.github.com/users/willingc/events{/privacy}","received_events_url":"https://api.github.com/users/willingc/received_events","type":"User","site_admin":false},"created_at":"2017-04-28T21:23:51Z","updated_at":"2017-04-28T21:23:51Z","body":"Closing this issue as it's been inactive for over a month. Please leave us a note with the additional information requested and we will be happy to reopen this issue. Thanks! :sunflower:"}}
{"actor":{"display_login":"willingc"}}