FS#7461 - pacman 3.0.5 doesn't install xorg-server with correct (suid) permissions
Attached to Project:
Pacman
Opened by Jonathan Frazier (wide-eye) - Tuesday, 19 June 2007, 00:49 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 20 June 2007, 21:53 GMT
Opened by Jonathan Frazier (wide-eye) - Tuesday, 19 June 2007, 00:49 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 20 June 2007, 21:53 GMT
|
Details
Summary and Info:
pacman doesn't install x with correct suid permissions. xorg-server 1.2.0-5 permissions with pacman 3.0.5: -rwxrwxrwxrwx 1 root root 1615268 2007-04-08 0:55 /usr/bin/Xorg xorg-server 1.2.0-5 permissions installed with pacman 3.0.4 -rws-r-x-r-x 1 root root 1615268 2007-04-08 05:55 /usr/bin/Xorg Steps to Reproduce: pacman -Syu pacman -U pacman-3.0.5-1.pkg.tar.gz (it isn't on my mirror yet) pacman -S xorg-server startx (as user gives permission denied errors, stays in console) workaround: rebuilding xorg-server with new makepkg fixes this bug. possibly related: I have also seen a similar bug with the community/fcron package installing with any version of pacman 3. It installs fine with pacman2.x or rebuilding fcron package using pacman 3 installs fine. [1] [1] http://aur.archlinux.org/packages.php?do_Details=1&ID=9215&O=0&L=0&C=0&K=fcron&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd I also file this bug as http://bugs.archlinux.org/task/7458 but it is miscatagorized. |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 20 June 2007, 21:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0.5-2, fix checked into pacman CVS for next release (which should be soon since this is big), and fix checked into GIT.
Wednesday, 20 June 2007, 21:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0.5-2, fix checked into pacman CVS for next release (which should be soon since this is big), and fix checked into GIT.
---s--s--x 1 cron cron 47560 2007-06-14 19:15 /usr/bin/fcrontab
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/lib/libalpm/add.c?cvsroot=Pacman
And as Andrew alluded to, not sure how a package rebuild would change anything unless it was the package itself that was broken in the first place (and it seems not to be).
http://24.23.187.112/3.0.5-built-xorg-server-1.3.0.0-1-i686.pkg.tar.gz
I will try and keep the file up for few days.
also, this bug is affecting everyone i see on irc who is upgrading/installing today. is a downgrade until fixed in order?
Quick rundown of what happened:
The files this happened to seemed to be unrelated, but were not. The common link was just that- a symlink to the file. When this existed, an explicit chmod done by pacman caused the symlink permissions (usually 777) to be applied to the file it was pointing to, causing all sorts of issues.