Bug 31962

Summary: не правильный user в /etc/cron.daily/sogo-tmpwatch
Product: Sisyphus Reporter: Chess <slchess>
Component: sogo2Assignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3    
Version: unstable   
Hardware: all   
OS: Linux   

Description Chess 2016-04-12 11:26:13 MSK
SOGO работает от имени _sogo
а в /etc/cron.daily/sogo-tmpwatch указан sogo

find "$SOGOSPOOL" -mindepth 1 -type d -user sogo -empty -delete > /dev/null

заодно в logrotate добавить 

su _sogo _sogo

иначе

rotating pattern: /var/log/sogo/*.log  after 1 days (7 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/sogo/sogo.log
error: skipping "/var/log/sogo/sogo.log" because parent directory has insecure permissions (it's not owned by "root"); consider using "su" directive in config file to tell logrotate which user/group should be used for rotation.

ну и все тоже для Sogo3
Comment 1 Repository Robot 2016-04-15 18:52:52 MSK
sogo2-1:2.3.10-alt1 -> sisyphus:

* Tue Apr 12 2016 Andrey Cherepanov <cas@altlinux> 1:2.3.10-alt1
- New version
- Use sope2 instead of sope >= 3.0.0
- Fix user name in tmpwatch and logrotate rules (ALT #31962)
- Add dlinklist.h from Samba
- Fix unowned directories