how to give permission recursively in linux code example

Example 1: chmod recursive

-R, --recursive

chmod -R 755 /path/to/directory

Example 2: how to give permission recursively in linux

chmod -R u=rwx,go=rx /tofile_path

Example 3: find change permissions to subdirectories

sudo find /var/www/html -type d -exec chmod 755 {} \;

Example 4: change permissions for specific file types linux

find . -name "*.sh" -exec chmod +x {} \;

Example 5: give full permission to folder and subfolders in linux

linux folder

Tags:

Css Example