Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

chmod +i .htoprc?


`chmod 440 ~/.config/htop/htoprc` did the trick for me. Still an unnecessary annoyance but I'll live.


For the benefit of someone like me who only uses Linux and bash on behalf of myself and the companies I work for and haven't studied it extensively, can anyone here tell me what the i is for?

I wasn't able to find it in man chmod on my machine, DDG failed me, as did Google.

(positive feedback to employees of DDG and Google: whenever I get assigned to the experiment where you show the snippet you thing matches my query it brightens my day, - even if the snippet shows that the result was irrelevant like here "<something about> chmod. I <something about the author>". I think Google used to nail this back in 2007 but anyways, seing the snippet in the front page helps a lot.)


Immutable. The reason you couldn’t find it in chmod(1) is because it’s the wrong command. The correct command (and manual page) is chattr(1).


Oops! Thank you.


just replying to myself as I got it wrong, it's chattr +i, not chmod. Sorry! (and thanks to the response below correcting me)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: