chmod 775 on a folder but not all files under that folder chmod 775 on a folder but not all files under that folder unix unix

chmod 775 on a folder but not all files under that folder


Remove the -R flag. That means it changes all files and folders in the subdirectory as well.

# chown root:user1 /var/www/project/# chmod 775 /var/www/project/


Yes : -R means recursive. Remove -R