HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Verify proper permissions (http://www.howtoforge.com/forums/showthread.php?t=30924)

filch 4th February 2009 18:12

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

falko 5th February 2009 20:50

Quote:

Originally Posted by filch (Post 167786)
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 (Post 167786)
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.

filch 5th February 2009 21:23

Quote:

Originally Posted by falko (Post 167959)
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

falko 6th February 2009 18:47

Symlink ownerships don't matter. The only thing that counts are the permissions of the directory that the symlink points to.

filch 6th February 2009 19:02

Quote:

Originally Posted by falko (Post 168201)
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

till 7th February 2009 10:54

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.

filch 7th February 2009 15:05

Quote:

Originally Posted by till (Post 168297)
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


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

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