HELP!
doshidania
Member Posts: 46
in BG:EE Mods
I've been trying to mod my BGEE on mac and I can't seem to get past this permissions thing. I'm far from a techie and I'm hoping someone on here can help. Here is the terminal error message :/Applications/Baldur's Gate - Enhanced Edition/Game Data/00777/Baldur's Gate - Enhanced Edition.app/Contents/Resources/OSX-bg1npc-v20/setup-bg1npc.command: line 5: ./setup-bg1npc: Permission denied
0
Comments
(press enter).
However, note that BG1 NPC is not yet compatible with BG: EE.
2) Take note of the permission string (it'll be some composition of r, w, x, and -) and the owner of the files.
3) If your permission string does not have 3 'x' characters, try "chmod 555 "; this should give execution permission to this file for ALL users (as well as read, but not write since you probably don't want to change the mod file).
4) Try the install again.
5) If you're still getting a permission denied issue, it could be that the script/install file is trying to make a change that your user account isn't authorized to do. In which case, put "sudo" in front of the command you used to start the install. So long as your computer account has adequate permissions, it will ask you for your password and will run the command as root (the admin-est of accounts) and will have permissions to make the changes it wants. ((If you are not using the terminal to initiate the mod install, I'm not sure how to help you as I've never tried to run things as root outside of the terminal.))
Let me try that again.
1) In the directory where the file that is causing the permission issue exists (setup-bg1npc, for instance) enter the command "ls -l | grep [file name]" where [file name] is replaced by the name of the offending file. ("ls -l | grep setup-bg1npc", in this case). You may have to hunt a bit to find it since it's using the '.' shortcut, since '.' means the current working directory, and scripts can change the directory that is being worked out of.
2) This one came out OK, I think.
3) If you don't see three 'x' characters in the permission string, try "chmod 555 [file name]".
4) This came out fine.
5) This came out fine.
Hope that clarifies.
"
Beth-Varnis-MacBook-Pro-2:~ bethvarni$ ls -l | grep setup-bg2fixpack
Beth-Varnis-MacBook-Pro-2:~ bethvarni$ "ls -l | grep setup-bg2fixpack"
-bash: ls -l | grep setup-bg2fixpack: command not found
Beth-Varnis-MacBook-Pro-2:~ bethvarni$ chmod 555 setup-bg2fixpack
chmod: setup-bg2fixpack: No such file or directory
"