{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/documentation/issues/1774","labels_url":"https://api.github.com/repos/owncloud/documentation/issues/1774/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/documentation/issues/1774/comments","events_url":"https://api.github.com/repos/owncloud/documentation/issues/1774/events","html_url":"https://github.com/owncloud/documentation/issues/1774","id":110898025,"number":1774,"title":"Documentation-Bug in script to Set Strong Permissions","user":{"login":"4fd81048a9cd8a3fd43f1f4e52f84181","id":10030990,"avatar_url":"https://avatars.githubusercontent.com/u/10030990?v=3","gravatar_id":"","url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181","html_url":"https://github.com/4fd81048a9cd8a3fd43f1f4e52f84181","followers_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/followers","following_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/following{/other_user}","gists_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/gists{/gist_id}","starred_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/subscriptions","organizations_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/orgs","repos_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/repos","events_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/events{/privacy}","received_events_url":"https://api.github.com/users/4fd81048a9cd8a3fd43f1f4e52f84181/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-12T01:55:08Z","updated_at":"2015-10-13T15:32:45Z","closed_at":"2015-10-13T15:32:45Z","body":"Pretty simple bug report here; the script on https://doc.owncloud.org/server/8.1/admin_manual/installation/installation_wizard.html#setting-strong-directory-permissions uses ${htuser} instead of ${htgroup} on the three chown lines where the owner is set to root.  You'd never notice this if ${htuser} and ${htgroup} are the same value\r\n\r\nchown -R root:${htuser} ${ocpath}/\r\n...\r\nchown root:${htuser} ${ocpath}/.htaccess\r\nchown root:${htuser} ${ocpath}/data/.htaccess\r\n\r\nShould be:\r\nchown -R root:${htgroup} ${ocpath}/\r\n...\r\nchown root:${htgroup} ${ocpath}/.htaccess\r\nchown root:${htgroup} ${ocpath}/data/.htaccess\r\n\r\n\r\nAdditionally, on my qnap, \"root\" doesn't exist, QNAP renamed it to \"admin\", which is pretty weird, but maybe you want to make \"root\" a variable too?\r\n\r\nBrian\r\n\r\n"}}