Why is Linux So Secure? | File Permissions and Groups
Linux is the most secure OS you can run on your computer... Here's why:
"Permissions" File attributes that define who can access or change a file
and whether a file can be executed as a program.
"-rwxr-xr-x" Shows file type and permissions.
+-------------+------+-------+
| d--------- | File Type |
+-------------+------+-------+
| - = regular file |
| d = directory |
| l = link |
+-------------+------+-------+
| Permission | Octal| Field |
+-------------+------+-------+
| -rwx------ | 700 | User |
| ----rwx--- | 070 | Group |
| -------rwx | 007 | Other |
+-------------+------+-------+
Octal values:
Read = 4
Write = 2
Execute = 1
8 bits = 1 byte. Uses digits 0 1 2 3 4 5 6 7.
You can set permissions in the file manager or with the commend
"chmod." Examples:
Set a file to be executable and readable by
by everyone but only writable by you:
'chmod 755 filemane'
Set execute bit without changing other permisions:
'chomd +x filename'
When applying permissions to directories on Linux, the
permission bits have different meanings than on regular files.
The write bit allows the affected user to create, rename, or
delete files within the directory, and modify the directory's
attributes. The read bit allows the affected user to list the
files within the directory. The execute bit allows the affected
user to enter the directory and access files and directories
inside.
Видео Why is Linux So Secure? | File Permissions and Groups канала Joe Collins
"Permissions" File attributes that define who can access or change a file
and whether a file can be executed as a program.
"-rwxr-xr-x" Shows file type and permissions.
+-------------+------+-------+
| d--------- | File Type |
+-------------+------+-------+
| - = regular file |
| d = directory |
| l = link |
+-------------+------+-------+
| Permission | Octal| Field |
+-------------+------+-------+
| -rwx------ | 700 | User |
| ----rwx--- | 070 | Group |
| -------rwx | 007 | Other |
+-------------+------+-------+
Octal values:
Read = 4
Write = 2
Execute = 1
8 bits = 1 byte. Uses digits 0 1 2 3 4 5 6 7.
You can set permissions in the file manager or with the commend
"chmod." Examples:
Set a file to be executable and readable by
by everyone but only writable by you:
'chmod 755 filemane'
Set execute bit without changing other permisions:
'chomd +x filename'
When applying permissions to directories on Linux, the
permission bits have different meanings than on regular files.
The write bit allows the affected user to create, rename, or
delete files within the directory, and modify the directory's
attributes. The read bit allows the affected user to list the
files within the directory. The execute bit allows the affected
user to enter the directory and access files and directories
inside.
Видео Why is Linux So Secure? | File Permissions and Groups канала Joe Collins
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Living with LMDE 6 and Fooling Around with VM's](https://i.ytimg.com/vi/yqztrtI7cso/default.jpg)
![My Dual CS 618Q Turntable 2 | More Info and Your Comments.](https://i.ytimg.com/vi/mQ3JiVz52Zc/default.jpg)
![Debian 12 Followup | Life after Ubuntu?](https://i.ytimg.com/vi/o3q0UqItZjk/default.jpg)
![A Blind Date with Debian 12 Bookworm](https://i.ytimg.com/vi/HSvUiTijnu4/default.jpg)
![Do You Need A Separate /home Partition for Linux?](https://i.ytimg.com/vi/acgBqG5EI60/default.jpg)
![VirtualBox Revisited | Creating a Virtual Machine](https://i.ytimg.com/vi/u28aKYBDYhY/default.jpg)
![How To Install Linux Mint 21.1 for Someone Else (OEM Install)](https://i.ytimg.com/vi/P0uY24H1o5k/default.jpg)
![Refurbed PC Runs Linux Mint Debian Edition 5 Like A Boss!](https://i.ytimg.com/vi/pQWHOcc7o4Q/default.jpg)
![Goldring E3 Phono Cartridge](https://i.ytimg.com/vi/OSSheE4ehW8/default.jpg)
![State Of The Channel - April 2023](https://i.ytimg.com/vi/JeOGyYdczYE/default.jpg)
![JC's Audio Toys Tour 2023](https://i.ytimg.com/vi/zgzTgZUFKRY/default.jpg)
![JC's Radio Stories 6 | A Voice in the Night](https://i.ytimg.com/vi/DBY4Rpz1O7M/default.jpg)
![Stanton 680 EL | The Greatest Phono Cartridge Ever?](https://i.ytimg.com/vi/QqXO07X4lFk/default.jpg)
![JC's Radio Stories 5 | Fun Radio Obituaries.](https://i.ytimg.com/vi/FQkd94l2dg4/default.jpg)
![JC's Radio Stories 4 | I Can Still Get Tubes](https://i.ytimg.com/vi/cGeCagQpmgw/default.jpg)
![JC's Radio Stories 3 | Where Your Friends Are](https://i.ytimg.com/vi/J85K8Oz3qXA/default.jpg)
![JC's Radio Stories 2 | Plates Are ON!](https://i.ytimg.com/vi/SxqngO1PXDk/default.jpg)
![JC's Radio Stories 1 | Greetings And Salutations!](https://i.ytimg.com/vi/abmWzLdJ0QI/default.jpg)
![JC's First CDs | The 80's and Beyond](https://i.ytimg.com/vi/2bjbwJo7wlM/default.jpg)
![My Sony CDP-CE275 CD Player](https://i.ytimg.com/vi/1AWPfdYjS6U/default.jpg)