{"action":"created","issue":{"url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37","labels_url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37/comments","events_url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37/events","html_url":"https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37","id":108565399,"number":37,"title":"Users Application Support directory gets set with root permissions.","user":{"login":"dhoer","id":648360,"avatar_url":"https://avatars.githubusercontent.com/u/648360?v=3","gravatar_id":"","url":"https://api.github.com/users/dhoer","html_url":"https://github.com/dhoer","followers_url":"https://api.github.com/users/dhoer/followers","following_url":"https://api.github.com/users/dhoer/following{/other_user}","gists_url":"https://api.github.com/users/dhoer/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoer/subscriptions","organizations_url":"https://api.github.com/users/dhoer/orgs","repos_url":"https://api.github.com/users/dhoer/repos","events_url":"https://api.github.com/users/dhoer/events{/privacy}","received_events_url":"https://api.github.com/users/dhoer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-09-27T22:45:31Z","updated_at":"2015-10-07T06:45:24Z","closed_at":"2015-10-06T17:50:03Z","body":"When provisioning Mac OS X 10.10 for the first time with privacy_services_manager, the Application Support directory gets set with root permissions.  This happens only if a user hasn't logged in.  If the user logged in before calling privacy_services_manager, then it preserves the directory and it's permissions.  \r\n\r\nHere are the Application Support permissions without privacy_services_manager called:\r\n```\r\ndrwxr-xr-x  11 vagrant  staff   374 Sep 27 15:16 Application Support\r\n```\r\nHere are the contents of Application Support directory without privacy services manager called:\r\n```\r\ndrwxr-xr-x  11 vagrant  staff  374 Sep 27 15:16 .\r\ndrwxr-xr-x@ 23 vagrant  staff  782 Sep 27 15:13 ..\r\ndrwx------  11 vagrant  staff  374 Sep 27 15:13 AddressBook\r\ndrwxr-xr-x   5 vagrant  staff  170 Sep 27 15:13 CallHistoryDB\r\ndrwxr-xr-x   2 vagrant  staff   68 Sep 27 15:13 CallHistoryTransactions\r\ndrwxr-xr-x   2 vagrant  staff   68 Sep 27 15:13 CloudDocs\r\ndrwx------   2 vagrant  staff   68 Sep 27 15:13 CrashReporter\r\ndrwxr-xr-x   3 vagrant  staff  102 Sep 27 15:13 Dock\r\ndrwx------   3 vagrant  staff  102 Sep 27 15:13 com.apple.TCC\r\ndrwxr-xr-x   4 vagrant  staff  136 Sep 27 15:16 com.apple.spotlight\r\n-rw-r--r--   1 vagrant  staff  420 Sep 27 15:16 com.apple.spotlight.Shortcuts\r\n```\r\n\r\nHere are the Application Support permissions with privacy_services_manager called:\r\n```\r\ndrwx------   3 root     staff   102 Sep 27 15:35 Application Support\r\n```\r\nHere are the contents of Application Support directory with privacy services manager called.\r\n```\r\ndrwxr-xr-x   3 root     staff  102 Sep 27 15:35 .\r\ndrwxr-xr-x@ 27 vagrant  staff  918 Sep 27 15:37 ..\r\ndrwx------   3 root     staff  102 Sep 27 15:35 com.apple.TCC\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/comments/146093330","html_url":"https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37#issuecomment-146093330","issue_url":"https://api.github.com/repos/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37","id":146093330,"user":{"login":"dhoer","id":648360,"avatar_url":"https://avatars.githubusercontent.com/u/648360?v=3","gravatar_id":"","url":"https://api.github.com/users/dhoer","html_url":"https://github.com/dhoer","followers_url":"https://api.github.com/users/dhoer/followers","following_url":"https://api.github.com/users/dhoer/following{/other_user}","gists_url":"https://api.github.com/users/dhoer/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoer/subscriptions","organizations_url":"https://api.github.com/users/dhoer/orgs","repos_url":"https://api.github.com/users/dhoer/repos","events_url":"https://api.github.com/users/dhoer/events{/privacy}","received_events_url":"https://api.github.com/users/dhoer/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T06:45:24Z","updated_at":"2015-10-07T06:45:24Z","body":"That didn't fix the issue. The users Application Support directory is still root. This causes Firefox startup to fail because profile cannot be loaded.\r\n\r\nAlso, if the --no-check-bin flag is set, does that mean the management tools dependency is no longer needed?"}}