LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[mumbleserver] if get permission denied fix

Open dgibbs64 opened this issue 10 years ago • 7 comments

/home/admin/lgsm/mumbleserver/functions/command_debug.sh: line 66: ./murmur.x86: Permission denied

When testing mumbleserver get this error. Probably becuase I used rsync. so simple fix is for script to chmod +x the file

dgibbs64 avatar Dec 29 '15 00:12 dgibbs64

Isn't there a check to chmod +x "${executabledir}/${executable}" now ?

UltimateByte avatar Aug 27 '16 16:08 UltimateByte

Wow, there isn't ! Will do it !

Can implement in https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/check_permissions.sh

UltimateByte avatar Aug 27 '16 16:08 UltimateByte

Well, i'm getting issues since ${executable} is under the form of ./executable_name which is quite annoying. I could maybe strip ./ if it's detected into the variable, but you know my love for sed...

https://github.com/GameServerManagers/LinuxGSM/blob/development/lgsm/functions/check_permissions.sh#L84

UltimateByte avatar Oct 18 '16 12:10 UltimateByte

How about the sed-less:

basename ${executable}

cedarlug avatar Oct 18 '16 12:10 cedarlug

I used awk, but this way is much more elegant

UltimateByte avatar Oct 18 '16 16:10 UltimateByte

Well, fixed in devbranch. https://github.com/GameServerManagers/LinuxGSM/blob/development/lgsm/functions/check_permissions.sh#L84

UltimateByte avatar Oct 19 '16 16:10 UltimateByte

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jul 19 '18 04:07 lock[bot]