How to setup rights for linux files and folders recursively from current directory? ( 755, 644 )

How to setup rights for linu files and folders recursively from current directory?

 for directories

find /desired_location -type d -print0 | xargs -0 chmod 0755

for files

find /desired_location -type f -print0 | xargs -0 chmod 0644

 

change owner

chown -R user:group .

Метаданные статьи

Идентификатор статьи:
31
Категория:
Дата добавления:
04.06.2020 09:03:04
Просмотры:
356
Рейтинг (Голоса):
(0)

Связанные статьи