Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#43537 - makepkg is misleading on inability to write inside folders
Attached to Project:
Pacman
Opened by Joshua Reno (jralpur) - Thursday, 22 January 2015, 03:25 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 01 May 2018, 05:13 GMT
Opened by Joshua Reno (jralpur) - Thursday, 22 January 2015, 03:25 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 01 May 2018, 05:13 GMT
|
DetailsSummary and Info:
if you set *DEST variables in makepkg.conf and do not create the folders, makepkg will say that you do not have write access Steps to Reproduce: set PKGDEST, SRCDEST etc. /etc/makepkg.conf do not create the folders you specified run makepkg where you usually would |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 01 May 2018, 05:13 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=d8717a6a9666ec80c8645d190d6f9c7a b73084ac
Tuesday, 01 May 2018, 05:13 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=d8717a6a9666ec80c8645d190d6f9c7a b73084ac
if ! mkdir -p "$BUILDDIR"; then
error "$(gettext "You do not have write permission to create packages in %s.")" "$BUILDDIR"
So makepkg tries to create the directories and fails because you do not have write permission to do so.
/etc/makepkg.conf
PKGDEST=/home/jr/test
$ cd ~
$ cp -r /var/abs/community/dwm .
$ cd dwm
$ makepkg
==> ERROR: You do not have write permission to store packages in /home/jr/test.
Aborting...
$ mkdir ~/test
$ ls -ld ~/test
drwxr-xr-x 2 jr jr 6 Jan 22 02:29 /home/jr/test
$ makepkg
(succeeds here)