Blog

Recursive permission change using find

Tags: findpermissionrecursive

Published on: September 11, 2014 by Geo Paul

Recursive  permission change using find

Scenario:

Permission issues are common in domains hosted on Linux servers and we need to change the permission of multiple files and folders. Changing the permissions of each and every file separately is a tedious and time-consuming job. So here we are discussing how recursive permission change can be done:

For directories

find <location> -type d -exec chmod 755 {} \;

 eg :

 find  /home/go -type d -exec chmod 755 {} \;

 For files

find <location> -type f -exec chmod 644 {} \;

 Eg:

find /home/go -type f -exec chmod 644 {} \;

Get 24/7 expert server management

Category : Howtos, Linux, Troubleshooting

Geo Paul

Geo Paul

Geo Paul has good customer management skills and is ready to take up additional responsibilities whenever required. His analytical assessment and adaptability to changing situations and circumstances, makes him one of the highly preferred admin by various clients. He is a jovial guy and love to live life to the fullest.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend