Change permissions of files and directories

questions, answers, problems, reviews, ...
.:: Preferred language(s): english
.:: Permissions: everybody
Post Reply
User avatar
geohei
Site Admin
Posts: 3388
Joined: Tuesday, 19.11.2002 07:56
Location: Luxembourg
Contact:

Change permissions of files and directories

Post by geohei »

Change permissions of files and directories:

Code: Select all

root@callisto:/media/raid1# find . -type f -exec chmod 644 -R {} +
...
root@callisto:/media/raid1# find . -type d -exec chmod 755 -R {} +
...
Image
Post Reply