Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialwen li
Courses Plus Student 1,924 Pointsorry, user super is not allowed to execute '/bin/cp /usr/local/mysql/support-files/my-default.cnf /etc /my.cnf' as root
A-8:~ super$ sudo cp /usr/local/mysql/support-files/my-default.cnf /etc /my.cnf
WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password: Sorry, user super is not allowed to execute '/bin/cp /usr/local/mysql/support-files/my-default.cnf /etc /my.cnf' as root on 6A-8.local.
1 Answer
Sérgio Leal
7,803 PointsIt seems you have an extra space between /etc
and /my.cnf
sudo cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf