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#11813 - setup uses wrong permission on pacman directories

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Monday, 20 October 2008, 16:37 GMT
Last edited by Simo Leone (neotuli) - Wednesday, 22 October 2008, 08:59 GMT
Task Type Bug Report
Category Installation
Status Closed
Assigned To Simo Leone (neotuli)
Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details


Change those lines:
662 # Set up the necessary directories for pacman use
663 [ ! -d "${DESTDIR}/var/cache/pacman/pkg" ] && mkdir -m 644 -p "${DESTDIR}/var/cache/pacman/pkg"
664 [ ! -d "${DESTDIR}/var/lib/pacman" ] && mkdir -m 644 -p "${DESTDIR}/var/lib/pacman"

to:
# Set up the necessary directories for pacman use
[ ! -d "${DESTDIR}/var/cache/pacman/pkg" ] && mkdir -m 755 -p "${DESTDIR}/var/cache/pacman/pkg"
[ ! -d "${DESTDIR}/var/lib/pacman" ] && mkdir -m 755 -p "${DESTDIR}/var/lib/pacman"
This task depends upon

Closed by  Simo Leone (neotuli)
Wednesday, 22 October 2008, 08:59 GMT
Reason for closing:  Fixed
Comment by Dan McGee (toofishes) - Monday, 20 October 2008, 17:40 GMT
This was dumb on my part. I'll get a patch pushed for this today hopefully.

Loading...