Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st May 2013, 10:02
diopear diopear is offline
Junior Member
 
Join Date: Jan 2012
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default rm -rf command: Permission denied even as root user

Hello,

On my server I have installed the version 3.0.5.2 of ISPConfig. I created a Shell-User for a particular site and everything worked normally. Therein, I noticed that some folders were created inside the folder of the site, such as bin, dev, lib, lib64 and others.

After testing, I delete users (Shell-User), and the folders remained. As root, I try to delete these folders with the command "rm -rf bin" and returns the error "rm: can not remove` bin ': Permission denied".

When creating a user, I selected the Chroot Shell Jailkit

I've tried several ways (chmod, chown, chattr -i), but it still fails. I need help.

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 1st May 2013, 12:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,672
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

You have to remove the immutable attribute with chattr -i from the parent folder ( the web root folder). Btw, thats described in severak threads here in the forum and in the manual.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st May 2013, 14:21
diopear diopear is offline
Junior Member
 
Join Date: Jan 2012
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

You're right, till. I had not thought on parent folder. Thank you!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 00:15
Webmail jacksmerv Installation/Configuration 13 12th January 2011 14:03
Too many ispconfig_access_log_* files cryptic Installation/Configuration 15 28th September 2010 13:31
Postfix email server problems Access denied 554 554 5.7.1 state 14 AceRimmer Server Operation 4 19th June 2008 14:36
shared IP with third level domain stefan Installation/Configuration 15 13th June 2007 22:55


All times are GMT +2. The time now is 19:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.