Koozali.org: home of the SME Server

Help needed - owner and group settings in /home/e-smith subd

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Help needed - owner and group settings in /home/e-smith subd
« 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
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Help needed - owner and group settings in /home/e-smith
« Reply #1 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.