![]() ![]() Linux can establish different types of groups for file access. The second part of the these symbols after the second dash, are the permissions for the group. If you own it, you can do what you want with it. The rw that follows means that bob can read and write to (modify) his own file. A directory, for example, would have a d instead of a dash. The dash - before the rw means that this is a normal file that contains any type of data. The first part refers to the owner's (bob's) permissions. The dashes - separate the permissions into three types It belongs to bob in particular and it is one (1) file. It belongs to the group users (i.e, the people who use this computer). This basically says, interpreting this from RIGHT to LEFT that the file, linux_course_notes.txt was created at 6:30 PM on July 10 and is 1892 bytes large. rw-r-r- 1 bob users 1892 Jul 10 18:30 linux_course_notes.txt We will show you how to understand file permission symbols and how to modify certain files so that they're more secure. ![]() We'll save that for the Linux system administration course. We won't get into an enormous amount of detail here. We're going to explain some basic concepts about who owns the file and who can do what with a file. That's where the system of file permissions comes in to help out in what could be a very confusing situation. (because Janet is Bill's fiance) In the end, it's important to know what belongs to me, to you and to everybody.Īs we mentioned at the beginning of this course, the big advantage that Linux has is its multi-user concept- the fact that many different people can use the same computer or that one person can use the same computer to do different jobs. ![]() Let's face it, we don't want Bill to read Bob's love letters to the Janet who works in R & D. There are security and privacy issues here as well. We don't want an ordinary user using a program that could potentially trash the whole system. Obviously, there's a need to keep things organized and secure. This is basically because it was conceived as a networked system where different people would be using a variety of programs, files, etc. Linux has inherited from UNIX the concept of ownerships and permissions for files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |