FS#43529 - [exim] warning: directory ownership differs during exim upgrade

Attached to Project: Community Packages
Opened by Ricardo (jimenezrick) - Wednesday, 21 January 2015, 09:21 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 24 January 2015, 08:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After the latest system upgrade using pacman, the next warning messages appear:

(14/60) upgrading exim
warning: directory ownership differs on /var/log/exim/
filesystem: 0:79 package: 0:0
warning: directory ownership differs on /var/spool/exim/
filesystem: 0:79 package: 0:0
warning: directory ownership differs on /var/spool/exim/db/
filesystem: 79:79 package: 0:0

In the next forum thread it is said that this is because the chown is used in the install script. Should it be better to create those directories with the right owner/permission directly with `install'? (https://bbs.archlinux.org/viewtopic.php?id=192476)


Thanks in advance!
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 24 January 2015, 08:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.85-2
Comment by Allan McRae (Allan) - Wednesday, 21 January 2015, 22:49 GMT
This can be done - setting permissions to 0:79 as appropriate will work.
Comment by Felix Yan (felixonmars) - Saturday, 24 January 2015, 07:19 GMT
This will however break those who have an old system and created the exim user themselves, and 97 is not a universal UID for exim either, so I would prefer not to hardcode the UID in the PKGBUILD.
Comment by Allan McRae (Allan) - Saturday, 24 January 2015, 07:46 GMT
Then why even specify what the group number should be in the install file?
Comment by Felix Yan (felixonmars) - Saturday, 24 January 2015, 08:03 GMT
I guess we can safely remove that group number from the install file. It was there since the svn history of [community]/exim and I have to admit that I didn't notice it...
Comment by Allan McRae (Allan) - Saturday, 24 January 2015, 08:20 GMT
If it is been there that long, 79 is the Arch standard and the files can be owned that id.
Comment by Felix Yan (felixonmars) - Saturday, 24 January 2015, 08:29 GMT
OK then. I have also checked the wiki [1] and confirmed that it has been documented. 4.85-2 will make the changes available soon.

[1] https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database

Loading...