Arch Linux

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!
Tasklist

FS#9907 - [emacs] /var/games directory permissions are wrong

Attached to Project: Arch Linux
Opened by Greg (dolby) - Saturday, 22 March 2008, 10:36 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 06 July 2009, 20:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: When installing emacs you get "warning: directory permissions differ on var/games/ filesystem: 775 package: 755

If the above is enough for a rebuild, the --mandir=/usr/man configure option can also be removed
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Monday, 06 July 2009, 20:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 22.3-2
Comment by Jan de Groot (JGC) - Sunday, 23 March 2008, 01:55 GMT
Sidenote for these score files: what happens when I achieve a highscore and I get an emacs upgrade? My highscore is lost then. Check gnome-games' postinstall scriptlet for how to handle these.

Also remind that these files should either be world-writable, or with root:games permissions where emacs is setgid games. As setting your "favourite" texteditor setgid games defeats the whole purpose of disallowing non-root users to edit highscore files, I would go for 666 permissions on the score files included with emacs.
Comment by Greg (dolby) - Friday, 28 March 2008, 20:46 GMT
Also regarding the latest 22.2 PKGBUILD i dont know why should the mandir be stated since makepkg installs the manpages in /usr/share even if we dont specifically tell it to.
I dont have an answer on JGC's comment. I doubt people using emacs care about scored though. I know i dont.
Comment by Greg (dolby) - Monday, 31 March 2008, 23:18 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry i closed this by mistake. This is still an issue.
Comment by Greg (dolby) - Wednesday, 23 July 2008, 17:41 GMT
I wonder if it would be wiser to use --localstatedir=/var/lib/emacs instead of /var like emacs-cvs from aur does
Comment by tigrmesh (tigrmesh) - Tuesday, 09 September 2008, 01:01 GMT
I got this same message tonight when upgrading emacs to 22.3-1.
Comment by Greg (dolby) - Saturday, 13 June 2009, 14:15 GMT
  • Field changed: Percent Complete (100% → 0%)
How is this fixed without Emacs been rebuilt & filesystem (even in testing) having 775 permissions?
Comment by Roman Kyrylych (Romashka) - Saturday, 13 June 2009, 17:59 GMT
http://repos.archlinux.org/viewvc.cgi/emacs/trunk/PKGBUILD?revision=26659&view=markup

1)
mandir=/usr/share/man
. . . --mandir=${mandir}

2)
# fix perms on /var/games
chmod 775 ${startdir}/pkg/var/games
chmod 775 ${startdir}/pkg/var/games/emacs
chmod 664 ${startdir}/pkg/var/games/emacs/*
chown -R root:50 ${startdir}/pkg/var/games

"warning: directory permissions differ on var/games/ filesystem: 775 package: 755"
now it's 775 in package too

So I assumed it's fixed, sorry if I was incorrect
Comment by Jan de Groot (JGC) - Saturday, 13 June 2009, 18:03 GMT
It has been fixed in trunk, but the changes never made it to the repos/ directories. I assume the merge tracking is broken also on repos/*, because someone changed files directly there.

Loading...