{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/documentation/issues/1971","repository_url":"https://api.github.com/repos/owncloud/documentation","labels_url":"https://api.github.com/repos/owncloud/documentation/issues/1971/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/documentation/issues/1971/comments","events_url":"https://api.github.com/repos/owncloud/documentation/issues/1971/events","html_url":"https://github.com/owncloud/documentation/issues/1971","id":123953258,"number":1971,"title":"strong file permissions script prevents pipelining assets","user":{"login":"stephengraf","id":9615360,"avatar_url":"https://avatars.githubusercontent.com/u/9615360?v=3","gravatar_id":"","url":"https://api.github.com/users/stephengraf","html_url":"https://github.com/stephengraf","followers_url":"https://api.github.com/users/stephengraf/followers","following_url":"https://api.github.com/users/stephengraf/following{/other_user}","gists_url":"https://api.github.com/users/stephengraf/gists{/gist_id}","starred_url":"https://api.github.com/users/stephengraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephengraf/subscriptions","organizations_url":"https://api.github.com/users/stephengraf/orgs","repos_url":"https://api.github.com/users/stephengraf/repos","events_url":"https://api.github.com/users/stephengraf/events{/privacy}","received_events_url":"https://api.github.com/users/stephengraf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-26T23:29:48Z","updated_at":"2016-04-26T15:32:52Z","closed_at":"2016-04-26T15:32:52Z","body":"Pipelining assets requires that ownCloud can write to the owncloud directory to create the assets directory and then be able to write files to the assets directory. The script provided in the administration manual to set strong file permissions does not take account the assets directory.\r\n\r\nAfter a new install or manaul upgrade of ownCloud the following errors are reported if pipelining is enabled and the strong permissions script is run and then ownCloud is accessed via the web server:\r\n\r\nError assets Folder </owncloud/assets> could not be accessed. 2015-12-24 11:52:29 \r\nError PHP touch(): Unable to create file /owncloud/assets/.oc because Permission denied at /owncloud/lib/private/template.php#265 2015-12-24 11:52:29 \r\n\r\nRecommendations:\r\n\r\n1. The ownCloud distribution should include an empty assets directory and the code to create the directory at run time could then be removed.\r\n2. The documentation for the strong permissions script should include a line for the assets directory:\r\n           chown -R ${htuser}:${htgroup} ${ocpath}/assets/"}}