Kid_Thunder, 1 year ago (edited 1 year ago) The directory you are creating your files in likely is set to immutable or append only. lsattr -d /path/to/directory if you see i or a, then that's the issue. You can remove them with sudo chattr -i /path/to/dir #removes immutable sudo chattr -a /path/to/dir #removes append only Same goes for files but if it happens to all files in a directory, then that is probably it.
The directory you are creating your files in likely is set to immutable or append only.
lsattr -d /path/to/directory
if you see i or a, then that's the issue.
You can remove them with sudo chattr -i /path/to/dir #removes immutable sudo chattr -a /path/to/dir #removes append only
Same goes for files but if it happens to all files in a directory, then that is probably it.