Here is a good question.
I am in the middle of upgrading my mail server OS from CentOS 4.8 to CentOS 5.5 so that we can use the ActiveSync module. Everything has gone smoothly so far with the exception of the Scalix part of the file system: /var/op/scalix.
Before the upgrade my directory looked like this:
Code: Select all
[root@grumpy scalix]# ls -al
total 64
drwxrwxr-x 10 scalix scalix 4096 Mar 17 2010 .
drwxr-xr-x 3 root root 4096 Sep 20 01:29 ..
drwxr-xr-x 2 root root 4096 Feb 20 2010 backup
-rw-r--r-- 1 scalix scalix 24 Mar 31 2007 .bash_logout
-rw-r--r-- 1 scalix scalix 191 Mar 31 2007 .bash_profile
-rw-r--r-- 1 scalix scalix 124 Mar 31 2007 .bashrc
drwxr-xr-x 2 root root 4096 Mar 17 2010 deleted
drwx------ 2 scalix sclaix 4096 Jan 22 2006 .elinks
-rw-r--r-- 1 scalix scalix 383 Mar 31 2007 .emacs
-rw-r--r-- 1 scalix scalix 120 Mar 31 2007 .gtkrc
drwxrwxr-x 12 scalix scalix 4096 Mar 31 2007 gy
drwxr-xr-x 3 scalix scalix 4096 Mar 31 2007 .kde
drwxr-xr-x 3 root root 4096 Apr 9 2009 lvmbackup
drwxr-xr-x 3 root root 4096 Aug 30 2007 root
drwxr-xr-x 10 root root 4096 Jan 27 2009 rootback
-rw-r--r-- 1 scalix scalix 658 Mar 31 2007 .zshrc
[root@grumpy scalix]#
Now it looks like this:
Code: Select all
[root@grumpy scalix]# ls -al
total 64
drwxrwxr-x 10 avahi-autoipd ecryptfs 4096 Mar 17 2010 .
drwxr-xr-x 3 root root 4096 Sep 20 01:29 ..
drwxr-xr-x 2 root root 4096 Feb 20 2010 backup
-rw-r--r-- 1 avahi-autoipd ecryptfs 24 Mar 31 2007 .bash_logout
-rw-r--r-- 1 avahi-autoipd ecryptfs 191 Mar 31 2007 .bash_profile
-rw-r--r-- 1 avahi-autoipd ecryptfs 124 Mar 31 2007 .bashrc
drwxr-xr-x 2 root root 4096 Mar 17 2010 deleted
drwx------ 2 avahi-autoipd ecryptfs 4096 Jan 22 2006 .elinks
-rw-r--r-- 1 avahi-autoipd ecryptfs 383 Mar 31 2007 .emacs
-rw-r--r-- 1 avahi-autoipd ecryptfs 120 Mar 31 2007 .gtkrc
drwxrwxr-x 12 avahi-autoipd ecryptfs 4096 Mar 31 2007 gy
drwxr-xr-x 3 avahi-autoipd ecryptfs 4096 Mar 31 2007 .kde
drwxr-xr-x 3 root root 4096 Apr 9 2009 lvmbackup
drwxr-xr-x 3 root root 4096 Aug 30 2007 root
drwxr-xr-x 10 root root 4096 Jan 27 2009 rootback
-rw-r--r-- 1 avahi-autoipd ecryptfs 658 Mar 31 2007 .zshrc
[root@grumpy scalix]#
What I have been able to discover is that the new version CentOS 5.5 add a new default user called "avahi-autoipd" and is in the slot "100" that scalix originally occupied. The scalix user id is now in slot "101" In addition, CentOS 5.5 has added a new group called "ecryptfs" in slot "101" and an additional new group called "avahi-autoipd" in slot "102". The new slot that the scalix group is now in is "103". This is why we see different user/group names in my scalix directory.
Changing these slot numbers to suit me is probably going to cause lots of problems with the OS later, so I guess I would like to fix this once and for all.
What is the best way to approach this? I wanted to be careful about just globally changing ownership of the files in case special permissions have been set for these files I don't know about.
One more question, I am pretty sure i have the mailnode name correct (sbgk) but how do I positively check that with the database? I dont' want the mail server to start hicupping in case this I have put in the wrong mailnode name in and I can fix it before I start the server.
My mail server is currently down right now so a quick answer to this would be most appreciated.
Sincerley,
Sideband Samurai