How to change the permissions of files in a directory recursively

Rashkae ubuntu at tigershaunt.com
Tue Apr 25 02:38:49 UTC 2017


On 17-04-24 08:48 PM, Smoot Carl-Mitchell wrote:

>
> For a deep directory you can do:
>
> find <dir> -type f -perm 766
>
> which recursively finds all the regular files and changes their mode in
> the directory tree.
>
> Smoot
>


Umm, what?  -perm option to find searches for permissions, it doesn't 
change anything.





More information about the ubuntu-users mailing list