Xonotic Forums
[BUG] Permission Denied line 131 Ubuntu 14 - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [BUG] Permission Denied line 131 Ubuntu 14 (/showthread.php?tid=7561)



Permission Denied line 131 Ubuntu 14 - ilyasofficial - 10-21-2017

I want to run Xonotic on ubuntu 14
I already set the execution permission for the file
but  i always getting this error
Code:
ilyasofficial@ilyasofficial-Lenovo-G475:/media/ilyasofficial/982A5A112A59ED2E/Xonotic$ bash xonotic-linux-glx.sh
xonotic-linux-glx.sh: line 131: /media/ilyasofficial/982A5A112A59ED2E/Xonotic/xonotic-linux64-glx: Permission denied
xonotic-linux-glx.sh: line 131: exec: /media/ilyasofficial/982A5A112A59ED2E/Xonotic/xonotic-linux64-glx: cannot execute: Permission denied
ilyasofficial@ilyasofficial-Lenovo-G475:/media/ilyasofficial/982A5A112A59ED2E/Xonotic$

and on line 131 i found this:
Code:
exec "$@"

Need help please !!


RE: Permission Denied line 131 Ubuntu 14 - Freddy - 10-22-2017

Is the execution bit set for the binary "xonotic-linux64-glx"? Is your user the owner of these files?

It seems that you put Xonotic on an external drive, so I suspect that this drive is formatted with NTFS to keep compatibility with Windows. AFAIK NTFS and FAT filesystems don't have permission management built-in, so that might be causing issues. Can you try to move that folder to a linux-friendly filesystem?


RE: Permission Denied line 131 Ubuntu 14 - martin-t - 10-22-2017

Moving the extracted folder back won't restore permissions, if it's indeed an NTFS/FAT32 partition, you need to extract the zip file again, this time to something like ext4 or similar that keeps linux file permissions.