How would I change all files to 644 and all folders to 755 using chmod from the linux command prompt? (Terminal)
chmod
linux
One approach could be using find:
find /desired_location -type d -print0 | xargs -0 chmod 0755
find /desired_location -type f -print0 | xargs -0 chmod 0644
1.4m articles
1.4m replys
5 comments
57.0k users