Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2013, 11:05
tom123 tom123 is offline
Member
 
Join Date: Feb 2012
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default /etc and /home inside customers directory

I've created a simple crontab.
This has created two folders, /etc and /home inside the customer directory but I'm unable to delete these. I receive a 'Permission denied' even deleting with root.
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2013, 11:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,606
Thanks: 792
Thanked 4,986 Times in 3,905 Posts
Default

Quote:
This has created two folders, /etc and /home inside the customer directory
Thats correct. These directories are required for the chrooted cronjob as they belong to the jail of the website. If you delete them, the cronjob will fail.

Quote:
I receive a 'Permission denied' even deleting with root.
The website root is protected with the immutable attribute, so that no user, not even root, can remove them without removing the attribute first.

The attribite is removed with:

chattr -i /var/www/clients/client0/web1

Please note that your cronjob start to will fail when you delete these required folders.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th January 2013, 11:25
fbartels fbartels is offline
Junior Member
 
Join Date: Feb 2012
Location: Hanover, Germany
Posts: 21
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hi,

do you also get a permision denied when creating other files in that directory?
Reply With Quote
  #4  
Old 18th January 2013, 11:34
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,606
Thanks: 792
Thanked 4,986 Times in 3,905 Posts
Default

Quote:
Originally Posted by fbartels View Post
Hi,

do you also get a permision denied when creating other files in that directory?
Yes. This directory is not made to put any files there. Clients are only allowed to upload files to their web folder (so they are accessible by http), to the webdav folder for webdav, to the cgi folder if they are cgi scripts and to the newly introduced folder "private" when the files shall not be accessible by http.

The website folder protecion can be disbaled under system > server config, but its higly recommended to leave it on.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 18th January 2013 at 11:58. Reason: typos
Reply With Quote
  #5  
Old 18th January 2013, 11:38
tom123 tom123 is offline
Member
 
Join Date: Feb 2012
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solved,
parent directory was immutable
Reply With Quote
  #6  
Old 18th January 2013, 14:29
fbartels fbartels is offline
Junior Member
 
Join Date: Feb 2012
Location: Hanover, Germany
Posts: 21
Thanks: 0
Thanked 4 Times in 4 Posts
 
Default

Quote:
Originally Posted by till View Post
The website folder protecion can be disbaled under system > server config, but its higly recommended to leave it on.
Ok I understand, but is this a new feature? In the past I was able to create and modify files directly in the web# folders, but I was wondering, since it is not possible anymore for all of these folders. Actually I was a bit worried if my filesystem was broken, but didn't have to time to investigate any further.
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
ISPConfig-2.2.35 Install Problem(s) Razvan Cioiu Installation/Configuration 5 31st December 2009 13:14
Please Help. with install on ubuntu alpha-z Installation/Configuration 12 9th October 2007 17:30
install fails, debian etch 4.0 edo660 Installation/Configuration 12 27th April 2007 02:40
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 21:32


All times are GMT +2. The time now is 08:58.


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