How to setup rights for linux files and folders recursively from current directory? ( 755, 644 )
How to setup rights for linu files and folders recursively from current directory?
for directories
find /desired_location -type d -print0 | xargs -0 chmod 0755
for files
find /desired_location -type f -print0 | xargs -0 chmod 0644
change owner
chown -R user:group .