Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39640 - community/ngircd: ngircd.service has 755 permissions instead of 644
Attached to Project:
Community Packages
Opened by Austin Adams (ausbin) - Wednesday, 26 March 2014, 20:57 GMT
Last edited by Kyle Keen (keenerd) - Wednesday, 26 March 2014, 21:21 GMT
Opened by Austin Adams (ausbin) - Wednesday, 26 March 2014, 20:57 GMT
Last edited by Kyle Keen (keenerd) - Wednesday, 26 March 2014, 21:21 GMT
|
DetailsDescription:
The PKGBUILD for community/ngircd 21-1 installs ngircd.service with 755 permissions (rwxr-xr-x), which is less common than 644 permissions (rw-r-r-). This appears to be extremely unimportant, but I thought I'd report it anyway. I googled around and couldn't find any official documentation on unit permissions, so here's a couple of examples of virtually the same 'problem' being patched: * http://lists.busybox.net/pipermail/buildroot/2013-December/083920.html * http://marc.info/?l=fedora-extras-commits&m=136876891115650&w=2 (prepare for bold eyerape) The permissions in action: $ ls -l /usr/lib/systemd/system/n* ... -rw-r--r-- 1 root root 433 Mar 11 20:26 /usr/lib/systemd/system/network.target -rw-r--r-- 1 root root 513 Mar 18 13:18 /usr/lib/systemd/system/nginx.service -rwxr-xr-x 1 root root 216 Dec 3 03:18 /usr/lib/systemd/system/ngircd.service -rw-r--r-- 1 root root 398 Feb 27 23:21 /usr/lib/systemd/system/nscd.service ... $ pacman -Qo /usr/lib/systemd/system/ngircd.service /usr/lib/systemd/system/ngircd.service is owned by ngircd 21-1 Patch (includes pkgrel bump): --- PKGBUILD.orig 2014-03-26 15:39:03.585151843 -0400 +++ PKGBUILD 2014-03-26 15:42:14.525151799 -0400 @@ -8 +8 @@ pkgver=21 -pkgrel=1 +pkgrel=2 @@ -37 +37 @@ package() { - install -Dm 755 ../ngircd.service "$pkgdir/usr/lib/systemd/system/ngircd.service" + install -Dm 644 ../ngircd.service "$pkgdir/usr/lib/systemd/system/ngircd.service" Steps to reproduce: 1. install ngircd 21-1 from community 2. get a directory listing of /usr/lib/systemd/system/ 3. panic |
This task depends upon
Closed by Kyle Keen (keenerd)
Wednesday, 26 March 2014, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: ngircd-21.1-1
Wednesday, 26 March 2014, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: ngircd-21.1-1
Comment by Kyle Keen (keenerd) -
Wednesday, 26 March 2014, 21:11 GMT
Well that is embarrassing. Fixing immediately. Also, new version of ngircd came out yesterday.
PKGBUILD.patch