Changing permissions hack
chmod -R go=u,go-w /directory
Copying user’s permissions to group and others, clearing write permission (all this to merely preserve x for directories without setting it to all other files).
chmod -R go=u,go-w /directory
Copying user’s permissions to group and others, clearing write permission (all this to merely preserve x for directories without setting it to all other files).