Page 1 of 1

Users and perms

Posted: Tue Feb 09, 2016 5:02 am
by erm3nda
Hi.

I ran

Code: Select all

v-add-user
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:

Code: Select all

rm: cannot remove ‘user/conf’: Permission denied
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.

Re: Users and perms

Posted: Tue Feb 09, 2016 5:16 am
by erm3nda
I've get rid of that insepecting the attr of the folders, using

Code: Select all

lsattr /home/user

Code: Select all

chattr -i /home/user 
did the trick and I've deleted account succesfull.