Answers for "change permissions for all files in a directory"

1

how to give all permission to a directory in linux

sudo chmod -R ugo+rwx /path/to/folder

// @Zenonymous
Posted by: Guest on December-17-2021
0

change permissions on all files in all sub-directories

find /path/to/directory -type d -exec chmod 775 {} \;
Posted by: Guest on March-08-2022
0

change permissions on all files in all sub-directories

find /path/to/directory -type f -exec chmod 664 {} \;
Posted by: Guest on March-08-2022

Code answers related to "change permissions for all files in a directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language