The following shows a command line session with chattr command which helps in changing attributes of files. $lsattr functions.txt ————-e– functions.txt $chattr -e functions.txt chattr: Clearing extent flag not supported on functions.txt $lsattr functions.txt ————-e– functions.txt $chattr +c functions.txt $lsattr functions.txt ——–c—-e– functions.txt $lsattr functions.txt ——–c—-e– functions.txt $chattr +a functions.txt chattr: Operation not permitted while …
Daily Archives: April 17, 2014
Looking into a lsattr practice session .
ABOUT lsattr The following shows a command line session with lsattr command which helps in listing file attributes. [bash] $pwd /proc $lsattr lsattr: Inappropriate ioctl for device While reading flags on ./asound lsattr: Permission denied While reading flags on ./sysrq-trigger lsattr: Inappropriate ioctl for device While reading flags on ./partitions lsattr: Inappropriate ioctl for device …