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 trialivettelindsay
4,010 Pointsmy default permissions are different from what is on the running commands video
My default permissions are different from what is on the running commands video. Will this make a difference going forward?
Welcome to the Treehouse Command Line
This computer was built just for you! Feel
The user you are signed in as is: treehous
and the default password is: mike the
treehouse ~ $ ls
documents hello.txt
treehouse ~ $ ls -l
total 8
drwxrwxr-x 2 treehouse treehouse 4096 Jan
-rw-r----- 1 treehouse treehouse 416 Jan
treehouse ~ $
2 Answers
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsI think It will not affect the following in course:
The difference is insignificant:
You current permissions are
-rw-r-----
Which means
- first "rw" permits you as user to read and write the file
- second "r" permits for members of treehouse group to read your file
- and all other users cannot read, write or execute your file
In his video permissions were a bit milder:
-rw-rw-r--
This means:
- first "rw" permits you as user to read and write the file
- second "rw" permits for members of treehouse group to read AND WRITE your file (note the difference)
- third "r" permits all possible users to read the file
So basically, they made your hello.txt
file more private, so that other users, members of "treehouse" group cannot write your file.
If you really want, you can change your hello
file to the same one that Jim is using, by typing
chmod 664 hello.txt
All knowledge about file permissions read here:
ivettelindsay
4,010 PointsThanks for helping me concerning permissions. :-)
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsNo problem. I think there will be video about permission although I'm not sure...