You are not logged in.
I was attempting to change CoW on a VM image. I believe I made it immutable because I can not move or delete it.
lsattr win7-1.qcow2
----i----------------m win7-1.qcow2
I tried
chattr +i win7-1.qcow2
but I still can not modify the file. what am I doing wrong?
Last edited by shoelesshunter (2022-08-07 04:32:14)
Offline
You can see the man page for `chattr`; you'll note that + enables/sets an attribute, and - disables/unsets it.
All the best,
-HG
Offline
yes, I just figured that out. the only xattr I've set before was to remove CoW, and that is +C, so I got it backwards. thank you.
Last edited by shoelesshunter (2022-08-07 04:31:59)
Offline