Mass ownership and permission change – Linux – Find command

How to change the permission of files and folders? Use chmod along with -exec to change the permissions. # find ./ -type f -exec chmod 777 {} \; this command changes all files permission to 777 in PWD. Use “-type d” for directory! How to change ownership? That’s simple. Use the chown command within the […]

See More