To chmod recursively, meaning directories and all directories within, you’d use the -R option:
chmod -R 755
From the chmod man page:
-R, –recursive
change files and directories recursively
This is all simple enough, but for some reason I always forget it. So here it is.
RSS feed for comments on this post · TrackBack URI
Leave a reply