Users and perms
Users and perms
Hi.
I ran as root in a batch script.
Every file was created from root account and now I cannot delete accounts from vestacp.
Also, now im triying to delete files using root but it's stopping me with the following message:
So, I have some questions that I can't found on the forum
1. Should I run commands as admin?
2. How can it be that root cannot delete that /home/user folder?
I tried some solutions from internet but now I'm stucked at this.
I ran
Code: Select all
v-add-user
Every file was created from root account and now I cannot delete accounts from vestacp.
Also, now im triying to delete files using root but it's stopping me with the following message:
Code: Select all
rm: cannot remove ‘user/conf’: Permission denied
1. Should I run commands as admin?
2. How can it be that root cannot delete that /home/user folder?
I tried some solutions from internet but now I'm stucked at this.
Re: Users and perms
I've get rid of that insepecting the attr of the folders, using
did the trick and I've deleted account succesfull.
Code: Select all
lsattr /home/user
Code: Select all
chattr -i /home/user