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 trial

Development Tools Console Foundations Environment and Redirection Pipes and Redirection

Alvin Shern
Alvin Shern
3,421 Points

I don't have permission to view hello.txt in these exercises.

I don't have permission to view hello.txt in these exercis

1 Answer

Danilo Rodrigues
Danilo Rodrigues
22,594 Points

Try changing the permissions in this file with the command:

chmod 777 hello.txt

See more information in this video: https://teamtreehouse.com/library/console-foundations/users-and-permissions/file-permissions

Alvin Shern
Alvin Shern
3,421 Points

Ah I realized the problem was that I didn't change the ownership and group of the hello.txt after changing it to another user as shown in the video tutorial. Thanks for commenting though : )