GitHub user surdy opened a pull request:
https://github.com/apache/mesos/pull/130
Avoid 'Permission denied' error with 'sudo cat >'
Not sure if this minor change warrants creation of a JIRA and a review
board request. I will do so if required.
`sudo cat > /etc/yum.repos.d/wandisco-svn.repo << EOF` leads to `bash:
/etc/yum.repos.d/wandisco-svn.repo: Permission denied` error.
`sudo bash -c 'cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF` fixes the
problem.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/surdy/mesos getting-started-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/130.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #130
----
commit 171e0c2ba605a1fc1d5dccc58db1dba72fccc831
Author: Harpreet Singh Gulati <[email protected]>
Date: 2016-07-07T03:31:36Z
Avoid 'Permission denied' error with 'sudo cat >'
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---