You are not logged in.
Pages: 1
Alrighty so I'm trying to get an aur manager, in this case aurman. I've followed the steps to get it from the aur until I realized I couldn't make the package as root which makes sense. So I followed the guide linked on the wiki to do it from a nobody user. I thought I followed it all well enough until I used "sudo -u nobody makepkg". I immediately got the error
"Failed to create the directory $BUILDDIR (/home/build/aurman).
Aborting..."
The only mention of this I could find accross the internet told me that the error is coming from here: https://git.archlinux.org/pacman.git/tr … v5.1.0#n88
only knowing where it comes from didn't help me so I'm hoping one of the nice people here can!
Offline
Welcome to the arch linux forums. What is the output of
stat /home/build
stat /home/build/aurman
Edit:
you are aware you can not run aurman as root?
Last edited by loqs (2018-08-13 23:52:41)
Offline
Welcome to the arch linux forums. What is the output of
stat /home/build stat /home/build/aurman
thanks for the welcome!
stat /home/build
File: /home/build
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 803h/2051d Inode: 262938 Links: 4
Access: (2666/drw-rwSrw-) Uid: ( 0/ root) Gid: (65534/ nobody)
Access: 2018-08-13 17:15:58.996828605 +0000
Modify: 2018-08-13 17:16:11.106828509 +0000
Change: 2018-08-13 17:16:11.106828509 +0000
Birth: -
stat /home/build/aurman
File: /home/build/aurman
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 803h/2051d Inode: 263428 Links: 3
Access: (2770/drwxrws---) Uid: ( 0/ root) Gid: (65534/ nobody)
Access: 2018-08-13 18:08:10.183469106 +0000
Modify: 2018-08-13 17:16:12.470161831 +0000
Change: 2018-08-13 17:16:12.470161831 +0000
Birth: -
Offline
you are aware you can not run aurman as root?
Yes I thought that's why I was trying to use nobody. Am I missing something?
Offline
I would highly recommend that you have a basic understanding of what yaourt/aurman/whatever is doing before trying to use said helper. Any (all) of the following links in this sticky should help: https://bbs.archlinux.org/viewtopic.php?id=60543. When you understand how building packages works, you'll ultimately understand how to use a helper correctly. That's why they are called AUR helpers. They are not a substitute for the knowledge and experience that you gain from first doing things manually. Good luck!
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Why haven't you created a non-root user? Are you going to? Even if you didn't plan to for all the countless other reasons you should, the present issue highlights one more: rather than trying to jump through hoops to use "nobody" user, just use a regular non-root user and be done with it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
/home/build needs to be 2770 not 2666 although the permissions for other are not important.
Offline
Pages: 1