Makepkg says I don't have permissions 29 August 2020, 04:46:45 Hi I installed Artix on this machine just a little while ago and I ran into this problem. I tried first installing yay. I followed the instructions on useing git and cding into the directory. Then I tried makepkg and it just gave me this error==> ERROR: You do not have write permission for the directory $BUILDDIR (/home/hostname/yay).I also tried installing the brave browser and the same error occured. I've looked at other forums and the usual response is do you have the base-devel package installed which I do. So I was wondering if I could get some help with this?
Re: Makepkg says I don't have permissions Reply #1 – 29 August 2020, 05:47:04 I have makepkg build dir in /tmp/makepkg (I want not stress my ssd too much)...If this happens me,i use justCode: [Select]chmod 777 /tmp/makepkg But be aware with home. You build it not as user yourself (hostname) , so that's why makepkg have no permission in home folder (home folder have no permissions for another users).if you need more space, move it to home (/home/yay) and 'chmod 777 /home/yay' . Last Edit: 29 August 2020, 05:52:52 by alium
Re: Makepkg says I don't have permissions Reply #2 – 31 August 2020, 23:44:44 ok thank you lets see if this works.
Re: Makepkg says I don't have permissions Reply #3 – 31 August 2020, 23:49:50 it didn't seem to work I might have to re-install
Re: Makepkg says I don't have permissions Reply #4 – 31 August 2020, 23:57:41 can you not set your build dir to tmp/yay as usually? you an still use chmod -R 777 /home/hostname/yay , but i like this not , because you have to set 777 for home and your hostname. tmp is much more appropriate. if this doesn't fail either, then the problem will be somewhere else...
Re: Makepkg says I don't have permissions Reply #5 – 02 September 2020, 19:23:55 There is definatly something wrong somewhere else some pacman packages don't work either so i think my install is botched thank you for the help though.