Hi there,
I tried to search for it but was unable to get any result:
The filesystem can be protected using I-MSCP panel. What do I have to do to remove it for one folder or to set it again?
Hi there,
I tried to search for it but was unable to get any result:
The filesystem can be protected using I-MSCP panel. What do I have to do to remove it for one folder or to set it again?
ok I found something using chattr +i or chattr -i but for some reasons my Ubuntu 16.04 is telling me that the command "chattr" was not found.
Any idea how this could happen and how to fix that?
Any idea how this could happen and how to fix that?
Make sure that the e2fsprogs package is installed on your system.
Make sure that the e2fsprogs package is installed on your system.
hm that is the strange thing, it is installed and i also tried to reinstall it. But chattr is not available. I checked to set it using the webinterface and it seems to work if I do it using I-MSCP panel. So maybe I-MSCP is doing it without chattr?
Maybe my system is fucked up right now, I do not know but I hope not. But it needs to keep on running till the next Ubuntu Server LTS release is out and I-MSCP is supporting it.
hm that is the strange thing, it is installed and i also tried to reinstall it. But chattr is not available. I checked to set it using the webinterface and it seems to work if I do it using I-MSCP panel. So maybe I-MSCP is doing it without chattr?
Yes, i-MSCP is doing direct IOCTL(2) calls.
See also IOCTL_IFLAGS(2) manpage.
@Nuxwin already tried all of them but I retried them:
All in all I think I can survive without having chattr. I already thought to set up a virtual machine and copy the files back to my system but I think currently it is gone for some reasons.
There is something really weird here and I don't like that, even if you can survive
I've just tried the following:
So, this should works same on your Ubuntu system.
See also: https://packages.ubuntu.com/se…=contents&keywords=chattr
Ok this is f****** me up right now (sorry for the strong words):
I tried to reinstall it using aptitude reinstall e2fsprogs which was not working (command said "reinstall complete" but chattr was still not there).
Now I thought "lets do it exactly how @Nuxwin did it" and it is back again ... so aptitude was not able to reinstall it the correct way but apt-get was ...
I am using aptitude now for years and prefere it (it is the first thing I install on ubuntu systesm)...