From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco van Hulten Subject: bug#30413: file exists and is +x but cannot be executed Date: Sat, 10 Feb 2018 18:30:35 +0100 Message-ID: <20180210183035.7433101a@jasniac.instanton> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekYzR-0002Kj-Gg for bug-guix@gnu.org; Sat, 10 Feb 2018 12:31:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekYzO-0005af-Dh for bug-guix@gnu.org; Sat, 10 Feb 2018 12:31:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekYzO-0005aO-Ar for bug-guix@gnu.org; Sat, 10 Feb 2018 12:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekYzO-0005Vi-1j for bug-guix@gnu.org; Sat, 10 Feb 2018 12:31:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekYz4-00029U-Ea for bug-guix@gnu.org; Sat, 10 Feb 2018 12:30:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekYz1-0005FC-25 for bug-guix@gnu.org; Sat, 10 Feb 2018 12:30:42 -0500 Received: from eterpe-smout.broadpark.no ([80.202.8.16]:37885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekYz0-0005Cd-Q7 for bug-guix@gnu.org; Sat, 10 Feb 2018 12:30:38 -0500 Received: from bgo1cloudm2.nextgentel.net ([80.202.8.59]) by eterpe-smout.broadpark.no (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0P3Y00H6U39X5400@eterpe-smout.broadpark.no> for bug-guix@gnu.org; Sat, 10 Feb 2018 18:30:35 +0100 (CET) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 30413@debbugs.gnu.org Hello=E2=80=94 I had cups installed as root and another user. I could use lpr. Now I tried to install it under user2 (to have the lpr binary available, among other things), but I cannot execute `lpr`: user2@graviton ~$ guix package -i cups The following package will be upgraded: cups 2.2.4 =E2=86=92 2.2.4 /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb= -cups-2.2.4 nothing to be done user2@graviton ~$ lpr lpr: No such file or directory user2@graviton ~$ which lpr /home/user2/.guix-profile/bin/lpr user2@graviton ~$ ls -l /home/user2/.guix-profile/bin/lpr lrwxrwxrwx 11 root root 62 Jan 1 1970 /home/user2/.guix-profile/bin/lpr -> /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr user2@graviton ~$ ls -l /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr -r-xr-xr-x 2 root root 14624 Jan 1 1970 /gnu/store/x5d85f1n0qalqlrr7rfwrj1= 35m80snlb-cups-2.2.4/bin/lpr user2@graviton ~$ /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bi= n/lpr /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr: No such fil= e or directory user2@graviton ~$ file /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2= .4/bin/lpr /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2.4/bin/lpr: ELF 64-bit = LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interprete= r /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-6= 4.so.2, or GNU/Linux 2.6.32, stripped, with debug_info But it looks as if it is there. Also, the executable bit is set for world. user2@graviton ~$ less /gnu/store/x5d85f1n0qalqlrr7rfwrj135m80snlb-cups-2.2= .4/bin/lpr showed the name of a file, so I checked its existence as well: user2@graviton ~$ file /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.= 25/lib/ld-linux-x86-64.so.2 /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-gli= bc-2.25/lib/ld-linux-x86-64.so.2: symbolic link to ld-2.25.so user2@graviton ~$ cd /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25= /lib/ user2@graviton /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib$ file ld-2.25.so ld-2.25.so: ELF 64-bit LSB shared object, x86-64, version 1= (SYSV), dynamically linked, not stripped, with debug_info I am using GNU Guix of a week old or so. =E2=80=94Marco