![](https://media.kbin.social/media/84/4f/844f0dd097b3b340fea6ed58f564e9dbb81ed9533452885db82b2b24ff679467.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
Attributes only apply to the directory’s own allocation table and child directories have their own tables.
Thanks. It has been a while, but I was fairly certain that this was the case, glad to have the confirmation. 👍
Attributes only apply to the directory’s own allocation table and child directories have their own tables.
Thanks. It has been a while, but I was fairly certain that this was the case, glad to have the confirmation. 👍
If you’d like to look into it further. the +i
flag in chattr is setting an attribute making the file (everything in Linux is a file, so yes this even means directories) immutable. When a file is immutable, it isn’t possible to change the ownership, group, name, or permissions of the file, nor will you be able to write, append, or truncate the file.
It’s been a while since I’ve used it, but I don’t believe it’s possible to have an immutable directory where you can still modify the contents therein, but I may be misremembering that. It would seem unlikely since adding content to the directory should require that you modify the links for the directory, which shouldn’t be allowable with an immutable object?
It’s possible that the +a
chattr attribute may achieve what you’d prefer. I believe that flag will make it so that files (and again, everything in Linux is a file) can be created and modified, but never deleted. I’ve actually never used this one, but I can foresee how this still may not be ideal for your wishes since updates to games may expect to be able to delete old content which would be thwarted here. 🤷
My kids have child phones on Google Fi which allows me to shut down their Internet with a couple of button presses. Are they simple devices if I geofence their internet access off while they’re in school? I somehow doubt it, but it does meet the definition as you’ve stated it, which in turn means it is as @originalucifer said, not exactly cut and dry.