Yes, you get this error without the sudo:
ERROR : Could not escalate effective user privileges: Operation not permitted From: <easybuild-requ...@lists.ugent.be<mailto:easybuild-requ...@lists.ugent.be>> on behalf of Robert Schmidt <rjesc...@gmail.com<mailto:rjesc...@gmail.com>> Reply-To: "easybuild@lists.ugent.be<mailto:easybuild@lists.ugent.be>" <easybuild@lists.ugent.be<mailto:easybuild@lists.ugent.be>> List-Post: easybuild@lists.ugent.be Date: Tuesday, August 16, 2016 at 10:19 AM To: "easybuild@lists.ugent.be<mailto:easybuild@lists.ugent.be>" <easybuild@lists.ugent.be<mailto:easybuild@lists.ugent.be>> Subject: Re: [easybuild] singularity I think it needs sudo to change permissions to setuid on the binary so it can do the chroot stuff it does. On Tue, Aug 16, 2016 at 10:17 AM Åke Sandgren <ake.sandg...@hpc2n.umu.se<mailto:ake.sandg...@hpc2n.umu.se>> wrote: Or just ignore that the instruction say that it needs sudo, it doesn't. That's just (with ~99% probability) stupid instructions, that want to install in a directory where users normaly don't have access. Using easybuild (or when buliding by hand) you should NEVER install as root or using sudo! On 08/16/2016 04:09 PM, Jack Perdue wrote: > Howdy Todd, > > You could try: > > preinstallopts = "sudo " # be sure to have a trailing space in the quotes > -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: a...@hpc2n.umu.se<mailto:a...@hpc2n.umu.se> Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se