Easy and Simple Solution

Wednesday, May 26, 2021

find and set read only file in linux

1 comment

Below command will help to find everything in /var/www/html and set to read-only.

find /var/www/html -iname "*" -print0 | xargs -I {} -0 chattr +i {}

1 comment :

Real Time Analytics -->