{"action":"closed","issue":{"url":"https://api.github.com/repos/cobbler/cobbler-web/issues/7","labels_url":"https://api.github.com/repos/cobbler/cobbler-web/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cobbler/cobbler-web/issues/7/comments","events_url":"https://api.github.com/repos/cobbler/cobbler-web/issues/7/events","html_url":"https://github.com/cobbler/cobbler-web/issues/7","id":64024470,"number":7,"title":"Ubuntu/Debian Web permission error in cobbler-2.6.6-1","user":{"login":"jmaas","id":790690,"avatar_url":"https://avatars.githubusercontent.com/u/790690?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaas","html_url":"https://github.com/jmaas","followers_url":"https://api.github.com/users/jmaas/followers","following_url":"https://api.github.com/users/jmaas/following{/other_user}","gists_url":"https://api.github.com/users/jmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaas/subscriptions","organizations_url":"https://api.github.com/users/jmaas/orgs","repos_url":"https://api.github.com/users/jmaas/repos","events_url":"https://api.github.com/users/jmaas/events{/privacy}","received_events_url":"https://api.github.com/users/jmaas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T15:27:26Z","updated_at":"2015-04-19T18:27:29Z","closed_at":"2015-04-19T18:27:29Z","body":"After installing Cobbler-2.6.6-1 from the suse repo on a fresh Ubuntu 14.04 install,\r\nthe /var/lib/cobbler/webui_sessions folder is owned by root.  This causes issues as WSGI runs as www-data.\r\n\r\nTo allow login I did:\r\nchown -R www-data.www-data /var/lib/cobbler/webui_sessions  \r\n\r\n(now there's a permission error reading static resources like .css/images...)\r\n\r\nAdding the following to cobbler_web.conf seems to have fixed the problem:\r\n```\r\n        <Location /cobbler_webui_content>\r\n            Require all granted\r\n        </Location>\r\n```\r\n\r\n\r\nNext issue - This is repeating like every 2 seconds in error_log:\r\n```\r\n[Tue Dec 30 17:12:47.888384 2014] [authz_core:error] [pid 4662:tid 140512958846720] [client 192.168.0.50:63741] AH01630: client denied by server configuration: /srv/www/cobbler/svc/services.py, referer: https://192.168.0.40/cobbler_web/profile/list\r\n```\r\nAdding the following to cobbler.conf seems to have fixed it:\r\n```\r\n<IfVersion >= 2.4>\r\n    <Location /cblr>\r\n        Require all granted\r\n    </Location>\r\n</IfVersion>\r\n```\r\n\r\n\r\n\r\n\r\nCopied from cobbler/#1385"}}