View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#59
Originally Posted by scaler View Post
For me as a beginner, the most confusing thing was the idea of "permissions" in UNIX. Whatever I tried to do, I would get an error message: "You do not have permission to do this." It took a while before I understood that I could give myself the permission by using chmod and chown commands. That's not the way you get permission in the big, bad world outside.
Usually the only "permission" you can grant yourself is the permission to execute a file as a program. This isn't so much a true "permission" but a flag that says, "this text file isn't just a text file, it is a script that can be executed!"

All of the other permissions (reading, writing, deleting, etc) are only given to you by those of higher authority (ie root), just like in the real world. And just like in the real world, you can grant yourself those permissions if you pretend to be a person of higher authority
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 2 Users Say Thank You to qole For This Useful Post: