View Single Post
Old 07-05-2017, 10:41 AM   #1
EleanorEllis
Junior Member
 
Join Date: Jun 2016
Posts: 1
Default DisplayLink USB Graphics Software for Ubuntu 1.3.54 won't install - permission denied

The install fails at the point it tries to run ./displaylink-installer.sh install in the directory /tmp/selfgz4895

Following is the output from the script
Code:
$ sudo ./displaylink-driver-1.3.54.run
[sudo] password for <username redacted for privacy>: 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.3.54  100%  
./displaylink-driver-1.3.54.run: 1: eval: ./displaylink-installer.sh: Permission denied
$
I checked the permissions of /tmp and found they are drwxrwxrwt so that shouldn't be the issue. I suspect that perhaps the script has not set execute permission on /tmp/selfgz4895./displaylink-installer.sh

Here is the output of the script in debug mode
$ sudo sh -x displaylink-driver-1.3.54.run[sudo] password for <username redacted for privacy>:
+ umask 077
+ CRCsum=181221745
+ MD5=ad1d1cefcd6a35c7433d01dbb63d0601
+ TMPROOT=/tmp
+ label=DisplayLink Linux Driver 1.3.54
+ script=./displaylink-installer.sh
+ scriptargs=install
+ licensetxt=
+ targetdir=displaylink-driver-1.3.54
+ filesizes=13084701
+ keep=n
+ quiet=n
+ print_cmd_arg=
+ type printf
+ print_cmd=printf
+ unset CDPATH
+ finish=true
+ xterm_loop=
+ noprogress=n
+ nox11=n
+ copy=none
+ ownership=y
+ verbose=n
+ initargs=
+ true
+ break
+ test n = y -a n = y
+ MS_PrintLicense
+ test x != x
+ test n = n
+ tty -s
+ :
+ test displaylink-driver-1.3.54 = .
+ test n = y
+ tmpdir=/tmp/selfgz4895
+ dashp=
+ mkdir /tmp/selfgz4895
+ pwd
+ location=/home/<username redacted for privacy>/Downloads/DisplayLink USB Graphics Software for Ubuntu 1.3.54
+ test x != x1
+ MS_Check displaylink-driver-1.3.54.run
+ OLD_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin
+ MD5_ARG=
+ exec
+ MD5_PATH=/usr/bin/md5sum
+ test -x /usr/bin/md5sum
+ test -x /usr/bin/md5sum
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ test n = n
+ MS_Printf Verifying archive integrity...
+ printf Verifying archive integrity...
Verifying archive integrity...+ tr -d
+ wc -c
+ head -n 499 displaylink-driver-1.3.54.run
+ offset=12072
+ verb=
+ i=1
+ echo 181221745
+ cut -d -f1
+ crc=181221745
+ test -x /usr/bin/md5sum
+ basename /usr/bin/md5sum
+ test md5sum = digest
+ cut -d -f1
+ echo ad1d1cefcd6a35c7433d01dbb63d0601
+ md5=ad1d1cefcd6a35c7433d01dbb63d0601
+ test ad1d1cefcd6a35c7433d01dbb63d0601 = 00000000000000000000000000000000
+ MS_dd displaylink-driver-1.3.54.run 12072 13084701
+ eval /usr/bin/md5sum
+ /usr/bin/md5sum
+ cut -b-32
+ expr 13084701 / 1024
+ blocks=12778
+ expr 13084701 % 1024
+ bytes=29
+ dd if=displaylink-driver-1.3.54.run ibs=12072 skip=1 obs=1024 conv=sync
+ md5sum=ad1d1cefcd6a35c7433d01dbb63d0601
+ test ad1d1cefcd6a35c7433d01dbb63d0601 != ad1d1cefcd6a35c7433d01dbb63d0601
+ test x = xy
+ crc=0000000000
+ verb=n
+ test 0000000000 = 0000000000
+ test xn = xy
+ expr 1 + 1
+ i=2
+ expr 12072 + 13084701
+ offset=13096773
+ test n = n
+ echo All good.
All good.
+ head -n 499 displaylink-driver-1.3.54.run
+ tr -d
+ wc -c
+ offset=12072
+ test xn = xy
+ test n = n
+ MS_Printf Uncompressing DisplayLink Linux Driver 1.3.54
+ printf Uncompressing DisplayLink Linux Driver 1.3.54
Uncompressing DisplayLink Linux Driver 1.3.54+ res=3
+ test n = n
+ trap echo Signal caught, cleaning up >&2; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15 1 2 3 15
+ MS_diskspace /tmp/selfgz4895
+ test -d /usr/xpg4/bin
+ df -kP /tmp/selfgz4895
+ tail -1
+ awk { if ($4 ~ /%/) {print $3} else {print $4} }
+ leftspace=4012312
+ test -n 4012312
+ test 4012312 -lt 31452
+ MS_dd_Progress displaylink-driver-1.3.54.run 12072 13084701
+ test n = y
+ + cdfile=displaylink-driver-1.3.54.run
+ offset=12072
+ length=13084701
+ /tmp/selfgz4895
eval gzip -cd
+ gzip -cd
+ UnTAR x
+ + pos=0
+ bsize=4194304
+ test 4194304 -gt 13084701
test n+ expr 13084701 / 4194304
= n
+ tar xvf -
+ blocks=3
+ expr 13084701 % 4194304
+ bytes=501789
+ dd bs=12072 count=0 skip=1
+ expr 0 + 4194304
+ pos=4194304
+ MS_Printf 0%%
+ printf 0%%
0% + test 3 -gt 0
+ test 4194304 -le 13084701
+ dd bs=4194304 count=1
+ expr 13084701 / 100
+ pcent=130847
+ expr 4194304 / 130847
+ pcent=32
+ test 32 -lt 100
+ MS_Printf \b\b\b\b\b\b\b
+ printf \b\b\b\b\b\b\b
+ test 32 -lt 10
+ MS_Printf 32%%
+ printf 32%%
32% + expr 4194304 + 4194304
+ pos=8388608
+ test 8388608 -le 13084701
+ dd bs=4194304 count=1
+ expr 13084701 / 100
+ pcent=130847
+ expr 8388608 / 130847
+ pcent=64
+ test 64 -lt 100
+ MS_Printf \b\b\b\b\b\b\b
+ printf \b\b\b\b\b\b\b
+ test 64 -lt 10
+ MS_Printf 64%%
+ printf 64%%
64% + expr 8388608 + 4194304
+ pos=12582912
+ test 12582912 -le 13084701
+ dd bs=4194304 count=1
+ expr 13084701 / 100
+ pcent=130847
+ expr 12582912 / 130847
+ pcent=96
+ test 96 -lt 100
+ MS_Printf \b\b\b\b\b\b\b
+ printf \b\b\b\b\b\b\b
+ test 96 -lt 10
+ MS_Printf 96%%
+ printf 96%%
96% + expr 12582912 + 4194304
+ pos=16777216
+ test 16777216 -le 13084701
+ test 501789 -gt 0
+ dd bs=501789 count=1
+ MS_Printf \b\b\b\b\b\b\b
+ printf \b\b\b\b\b\b\b
+ MS_Printf 100%%
+ printf 100%%
100% + test xy = xy
+ PATH=/usr/xpg4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ cd /tmp/selfgz4895
+ id -u
+ chown -R 0 .
+ id -g
+ chgrp -R 0 .
+ expr 12072 + 13084701
+ offset=13096773
+ test n = n
+ echo

+ cd /tmp/selfgz4895
+ res=0
+ test x./displaylink-installer.sh != x
+ test xn = xy
+ eval ./displaylink-installer.sh install
+ ./displaylink-installer.sh install
displaylink-driver-1.3.54.run: 1: eval: ./displaylink-installer.sh: Permission denied
+ res=126
+ test 126 -ne 0
+ test xn = xy
+ test n = n
+ cd /tmp
+ /bin/rm -rf /tmp/selfgz4895
+ eval true
+ true
+ exit 126
$
EleanorEllis is offline   Reply With Quote