lsattr -i

Searching…

unix.stackexchange.com

why there is no output of lsattr and how to resolve it

Are the involved filesystems possibly mounted read-only? Why are you specifically interested in lsattr? It's unclear what the main issue is. At the moment, your issue with installing OpenSSH seems to be of lesser impo...

unix.stackexchange.com

How to lsattr directory only? - Unix & Linux Stack Exchange

Turns out, there is lsattr -R switch for "recursive", which I've expected to provide output like above - but when I run it, it simply also descends into __pycache__ directory. So, how do you lsattr a directory only, s...

unix.stackexchange.com

How to set `chattr +i` for my `/etc/resolv.conf

yep. fortunately, it can be configured to not do that. There's also the dreadful resolvconf package, whose sole purpose is to mangle /etc/resolv.conf - I've said it before but apt-get purge is effective but unsatisfyi...

unix.stackexchange.com

How to search for files with immutable attribute set?

For config auditing reasons, I want to be able to search my ext3 filesystem for files which have the immutable attribute set (via chattr +i). I can't find any options for find or similar that do t...