Existing nethack permissions caused a crash
Existing nethack permissions caused a crash

In multi-user systems for certain, and possibly in other situations
(possibly related to installing with `$ sudo brew install nethack`),
nethack permissions were set incorrectly. Nethack wants to be able to
create save files in $NETHACKDIR/libexec/save, but the folder lacked
group permissions to allow this.

Additionally, it needs to be able to write the lock (perm) file, but
didn't have permission to do this either.

Closes Homebrew/homebrew#8765.

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>

spaam/homebrew-core,aren55555/homebrew-core,Homebrew/homebrew-core,straxhaber/homebrew-core,gserra-olx/homebrew-core,smessmer/homebrew-core,lemzwerg/homebrew-core,forevergenin/homebrew-core,JCount/homebrew-core,andyjeffries/homebrew-core,jdubois/homebrew-core,jvehent/homebrew-core,Moisan/homebrew-core,bcg62/homebrew-core,LinuxbrewTestBot/homebrew-core,sdorra/homebrew-core,jvillard/homebrew-core,andyjeffries/homebrew-core,fvioz/homebrew-core,passerbyid/homebrew-core,cblecker/homebrew-core,FinalDes/homebrew-core,Moisan/homebrew-core,bigbes/homebrew-core,ShivaHuang/homebrew-core,nandub/homebrew-core,lembacon/homebrew-core,nandub/homebrew-core,uyjulian/homebrew-core,reelsense/homebrew-core,passerbyid/homebrew-core,bcg62/homebrew-core,j-bennet/homebrew-core,battlemidget/homebrew-core,battlemidget/homebrew-core,maxim-belkin/homebrew-core,nbari/homebrew-core,bigbes/homebrew-core,moderndeveloperllc/homebrew-core,makigumo/homebrew-core,chrisfinazzo/homebrew-core,ShivaHuang/homebrew-core,wolffaxn/homebrew-core,jdubois/homebrew-core,rwhogg/homebrew-core,zyedidia/homebrew-core,mfikes/homebrew-core,mfikes/homebrew-core,mbcoguno/homebrew-core,chrisfinazzo/homebrew-core,Homebrew/homebrew-core,filcab/homebrew-core,moderndeveloperllc/homebrew-core,kuahyeow/homebrew-core,lasote/homebrew-core,edporras/homebrew-core,mahori/homebrew-core,nbari/homebrew-core,BrewTestBot/homebrew-core,filcab/homebrew-core,dsXLII/homebrew-core,tkoenig/homebrew-core,zyedidia/homebrew-core,forevergenin/homebrew-core,jabenninghoff/homebrew-core,jabenninghoff/homebrew-core,ilovezfs/homebrew-core,rwhogg/homebrew-core,edporras/homebrew-core,robohack/homebrew-core,ylluminarious/homebrew-core,git-lfs/homebrew-core,adam-moss/homebrew-core,maxim-belkin/homebrew-core,LinuxbrewTestBot/homebrew-core,aren55555/homebrew-core,kuahyeow/homebrew-core,fvioz/homebrew-core,reelsense/homebrew-core,sjackman/homebrew-core,adam-moss/homebrew-core,JCount/homebrew-core,sjackman/homebrew-core,ilovezfs/homebrew-core,mvbattista/homebrew-core,lembacon/homebrew-core,ylluminarious/homebrew-core,lasote/homebrew-core,adamliter/homebrew-core,j-bennet/homebrew-core,FinalDes/homebrew-core,zmwangx/homebrew-core,uyjulian/homebrew-core,smessmer/homebrew-core,DomT4/homebrew-core,BrewTestBot/homebrew-core,wolffaxn/homebrew-core,sdorra/homebrew-core,mvitz/homebrew-core,mvitz/homebrew-core,spaam/homebrew-core,bcg62/homebrew-core,Linuxbrew/homebrew-core,bfontaine/homebrew-core,mbcoguno/homebrew-core,tkoenig/homebrew-core,mahori/homebrew-core,stgraber/homebrew-core,grhawk/homebrew-core,phusion/homebrew-core,Linuxbrew/homebrew-core,wolffaxn/homebrew-core,gserra-olx/homebrew-core,kunickiaj/homebrew-core,mvbattista/homebrew-core,jvillard/homebrew-core,jdubois/homebrew-core,DomT4/homebrew-core,lemzwerg/homebrew-core,makigumo/homebrew-core,aabdnn/homebrew-core,kunickiaj/homebrew-core,zmwangx/homebrew-core,adamliter/homebrew-core,jvehent/homebrew-core,mbcoguno/homebrew-core,git-lfs/homebrew-core,cblecker/homebrew-core,aabdnn/homebrew-core,mvitz/homebrew-core,straxhaber/homebrew-core,grhawk/homebrew-core,phusion/homebrew-core,jvillard/homebrew-core,lembacon/homebrew-core,bfontaine/homebrew-core,dsXLII/homebrew-core,robohack/homebrew-core,stgraber/homebrew-core