How can I copy the all file permissions of a folder from owner to users?
Imagine that I have:
-rw-r----- 1 124982 5000 201 2012-06-24 06:45 documentation.html
I want to change to:
-rw-r--r-- 1 124982 5000 201 2012-06-24 06:45 documentation.html
That would be either
or you can do
To change modes recursively on a folder (i.e for each file in a folder), do:
But be careful - this changes directory modes as well, which differ from file mode in their use of the "execute" permission.