Let’s first change the current directory using the cd command.
cd folder_name
After changing the current directory, run the following commands to change the permissions of all the files and directories inside the current directory.
# For files find . -type f -print0 | xargs -0 chmod 0644 # For directories find . -type d -print0 | xargs -0 chmod 0755
To check the permissions inside the directory, run the following command.
ls -la
Comment