Город МОСКОВСКИЙ
00:09:04

Directory Permissions + Concept of Sticky Bit - UNIX/LINUX Tutorials for beginners

Аватар
Unix Ninjas
Просмотры:
19
Дата загрузки:
11.10.2024 05:55
Длительность:
00:09:04
Категория:
Лайфхаки

Описание

Concepts and Results from this video :

Best Combination of permissions to be granted to directories must be rwxr-xr-- i.e. 754

If we have read permission to somebody's directory we can do ls on it

If we have an execute permission to this directory we can go into it using cd command

If we have a write permission to it we can copy a file into this directory using the cp command


Sticky Bit:
Command : chmod +t [directoryname]
OR chmod 1754 [directoryname]

Рекомендуемые видео