目录写入权限DelftDashBoard MATLAB_Runtime

问题描述 投票:0回答:0

正在尝试设置这个程序.. ..哪个州 “安装目录内的写入权限”

..所以我尝试了几个选项..

user@user:~/models/delftdashboard_v02.04.18042$ chmod -R +r+w+x ~/models/delftdashboard_v02.04.18042
user@user:~/models/delftdashboard_v02.04.18042$ ls -l
total 8
drwxrwxr-x 2 rdfleay rdfleay 4096 May 12  2022 bin
drwxrwxr-x 9 rdfleay rdfleay 4096 May 12  2022 data
user@user:~/models/delftdashboard_v02.04.18042$ chmod -R 777 ~/models/delftdashboard_v02.04.18042
user@user:~/models/delftdashboard_v02.04.18042$ ls -l
total 8
drwxrwxrwx 2 rdfleay rdfleay 4096 May 12  2022 bin
drwxrwxrwx 9 rdfleay rdfleay 4096 May 12  2022 data

..然后“双击可执行文件 DelftDashboard.exe”..任一选项都会在消失之前初始化 GUI 一秒钟。

要求也满足...

-安装:delftdashboard_v02.04.18042、MATLAB_Runtime_R2019a_Update_9_glnxa64

user@user:~/models$ ls
    delftdashboard_v02.04.18042
    delftdashboard_v02.04.18042.zip
    library
    matlab_2023a_installer
    MATLAB_LD_LIBRARY_PATH
    MATLAB_LD_LIBRARY_PATH1
    MATLAB_Runtime_R2019a_Update_9_glnxa64
    MATLAB_Runtime_R2019a_Update_9_glnxa64.zip
    MATLAB_Runtime_R2023a_Update_1_glnxa64
    MATLAB_Runtime_R2023a_Update_1_glnxa64.zip
    ROMS
    xbeach

-途径:

$ gedit ~/.bashrc
##v96
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/MATLAB/MATLAB_Runtime/v96/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/extern/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/sys/opengl/lib/glnxa64

所以它似乎开始了,然后停止了。我认为是写入目录失败了吗?

在其目录中执行程序后直接运行dmesg返回..

user@user:~/models/delftdashboard_v02.04.18042/bin$ DelftDashboard.exe
DelftDashboard.exe: command not found


user@user:~ dmesg
[ 7409.572788] Buffer I/O error on dev sr0, logical block 7, async page read
[ 7489.434566] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7489.434573] sr 1:0:0:0: [sr0] tag#4 Sense Key : Not Ready [current] 
[ 7489.434577] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Medium not present - tray closed
[ 7489.434582] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 7489.434587] blk_update_request: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0
[ 7489.434666] sr 1:0:0:0: [sr0] tag#15 unaligned transfer
[ 7489.434671] blk_update_request: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434676] Buffer I/O error on dev sr0, logical block 0, async page read
[ 7489.434701] sr 1:0:0:0: [sr0] tag#16 unaligned transfer
[ 7489.434712] blk_update_request: I/O error, dev sr0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434715] Buffer I/O error on dev sr0, logical block 1, async page read
[ 7489.434735] sr 1:0:0:0: [sr0] tag#17 unaligned transfer
[ 7489.434738] blk_update_request: I/O error, dev sr0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434741] Buffer I/O error on dev sr0, logical block 2, async page read
[ 7489.434759] sr 1:0:0:0: [sr0] tag#18 unaligned transfer
[ 7489.434762] blk_update_request: I/O error, dev sr0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434765] Buffer I/O error on dev sr0, logical block 3, async page read
[ 7489.434784] sr 1:0:0:0: [sr0] tag#19 unaligned transfer
[ 7489.434787] blk_update_request: I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434790] Buffer I/O error on dev sr0, logical block 4, async page read
[ 7489.434808] sr 1:0:0:0: [sr0] tag#20 unaligned transfer
[ 7489.434811] blk_update_request: I/O error, dev sr0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434813] Buffer I/O error on dev sr0, logical block 5, async page read
[ 7489.434832] sr 1:0:0:0: [sr0] tag#21 unaligned transfer
[ 7489.434834] blk_update_request: I/O error, dev sr0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434837] Buffer I/O error on dev sr0, logical block 6, async page read
[ 7489.434856] sr 1:0:0:0: [sr0] tag#22 unaligned transfer
[ 7489.434859] blk_update_request: I/O error, dev sr0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 7489.434861] Buffer I/O error on dev sr0, logical block 7, async page read
[ 7491.765361] [UFW BLOCK] IN=wlp1s0 OUT= MAC=01:00:5e:00:00:01:44:a5:6e:87:c7:40:08:00 SRC=192.168.55.99 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
linux file-permissions matlab-compiler
© www.soinside.com 2019 - 2024. All rights reserved.