Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: SchulzStefan on March 14, 2007, 02:41:03 PM

Title: Help needed - owner and group settings in /home/e-smith subd
Post by: SchulzStefan on March 14, 2007, 02:41:03 PM
During a restore, I messed up the owner and group settings in the /home/subdir's.

Ibays settings are not the problem. I need the settings of

- /home/e-smith/db
- /home/e-smith/files/primary
- /home/e-smith/files/samba
- /home/e-smith/files/samba-resources
- /home/e-smith/files/users
- /home/e-smith/Maildir
- /home/e-smith/ssl.crt
- /home/e-smith/ssl.key
- /home/e-smith/ssl.pem
- /home/e-smith/web
- /home/http
- /home/http/html
- /home/http/html/horde

Including the subdirectories and also the settings of the hidden files and folders. Fast help would be nice!

Thank's in advance

stefan
Title: Re: Help needed - owner and group settings in /home/e-smith
Post by: CharlieBrady on March 14, 2007, 06:54:04 PM
Quote from: "SchulzStefan"
During a restore, I messed up the owner and group settings in the /home/subdir's.

Ibays settings are not the problem. I need the settings of

- /home/e-smith/db
...


rpm --setperms --setugids $(rpm -qa | grep e-smith)
rpm --setperms --setugids $(rpm -qa | grep smeserver)
signal-event post-upgrade
signal-event reboot

will reset lots of stuff to what it needs to be. It might even do the lot.