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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th February 2009, 18:12
filch filch is offline
Member
 
Join Date: Jul 2008
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default Verify proper permissions

Hi all,

I just want to verify what the proper file and folder permissions should be in a standard ISPConfig install.

In the /var/www directory there are the actual directories, which are named web1, web2 etc and have the following permissions:

web1_username.web1, web2_username.web2 etc.

In this directory, there are also symbolic links to these directories, which constitute the actual website name as in:

apache.web1 www.somesite.com -> web1,
apache.web2 www.someothersite.com -> web2 etc

all the files inside of these directories should also have the same permissions as the actual directory permissions ... correct?

The only possible change to this is the MailDir directory, which seems to be owned by root.

Is all the above correct?

Thanks for your time.

Dave
Reply With Quote
Sponsored Links
  #2  
Old 5th February 2009, 20:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by filch View Post
all the files inside of these directories should also have the same permissions as the actual directory permissions ... correct?
Yes, unless you've changed them (some web applications need special ownerships).

Quote:
Originally Posted by filch View Post
The only possible change to this is the MailDir directory, which seems to be owned by root.
Maildir should be owned by the user in whose home directory Maildir is located.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 5th February 2009, 21:23
filch filch is offline
Member
 
Join Date: Jul 2008
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Yes, unless you've changed them (some web applications need special ownerships).


Maildir should be owned by the user in whose home directory Maildir is located.
So, the permissions for the symlinks, being owned by apache.web1 etc is also OK?

Thanks very much for your reply. I do appreciate it.

Dave
Reply With Quote
  #4  
Old 6th February 2009, 18:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Symlink ownerships don't matter. The only thing that counts are the permissions of the directory that the symlink points to.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th February 2009, 19:02
filch filch is offline
Member
 
Join Date: Jul 2008
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Symlink ownerships don't matter. The only thing that counts are the permissions of the directory that the symlink points to.
OK cool. One last thing ... I have installed the latest release candidate and I wanted to install phpmyadmin. I have downloaded you package but in the tools section .. I cannot seem to find where to install packages. This seems to be missing. Any ideas?

Dave
Reply With Quote
  #6  
Old 7th February 2009, 10:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,433
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

The package you downloaded is for ISPConfig 2 and not ISPConfig 3. There are no addon packages for ISPConfig 3 available. Instead just install the phpmyadmin package of your linux distribution.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
filch (7th February 2009)
  #7  
Old 7th February 2009, 15:05
filch filch is offline
Member
 
Join Date: Jul 2008
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
The package you downloaded is for ISPConfig 2 and not ISPConfig 3. There are no addon packages for ISPConfig 3 available. Instead just install the phpmyadmin package of your linux distribution.
Ahh . OK, that was not clear to me. Thanks.

Dave
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
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 02:58
Apache2 Directory permissions issues knotpc Installation/Configuration 1 30th May 2008 19:36
Permissions disappearing spuppy General 5 2nd March 2008 14:54
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 15:43
Samba and filesystem permissions Anteaus Server Operation 0 17th July 2007 09:19


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


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