Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Users and perms

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
erm3nda
Posts: 9
Joined: Sun May 24, 2015 8:42 am

Users and perms
  • Quote

Post by erm3nda » Tue Feb 09, 2016 5:02 am

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.
Top

erm3nda
Posts: 9
Joined: Sun May 24, 2015 8:42 am

Re: Users and perms
  • Quote

Post by erm3nda » Tue Feb 09, 2016 5:16 am

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.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password