Join Scott Simpson for an in-depth discussion in this video Understand file permissions, part of Learning Linux Command Line (2016).
- [Voiceover] At first look,…file permissions can seem rather cryptic.…We've seen them before when listing files in a directory,…but it's not immediately clear what they mean.…rwxr-xr-x…might not make any sense now, but it will soon.…The sequence of letters breaks down into three groups.…The first represents the user, or the owner of the file.…The second group of three represents…the group the owner is a member of,…and the third group represents all other users…not in the group the user is a member of.…
Each of the groups of three…breaks down into three individual letters,…which stand for read, write, and execute.…Read means that someone can see…the contents of a file but not modify it.…Write means that someone can make changes to a file,…but not read the contents.…and execute means that someone can run the file,…for example a program or script,…without loading it into another program first.…There are a couple of other letters you may see in here,…but r, w, and x will take care…of what we need to do for now.…
We can change the permissions of a file…
This course will establish the foundation for more advanced Linux topics. Find other Linux training courses here.
- What is the Linux command line?
- Writing Linux commands at the prompt
- Finding help for Linux commands
- Editing files and folders
- Configuring user roles and file permissions
- Using pipes to connect commands
- Peeking at files
- Searching and editing text
- Finding disk and system information
- Installing and updating software