Trying to install mods-Permission denied
MrNerodia
Member Posts: 11
I'm trying to install the megamodkit using the Mac OS X easy installer. I have the v 236 of weidu. I am getting this message when I try to install:
Last login: Thu Dec 5 14:19:50 on ttys001
Jeffrey-Jenkinss-MacBook-Pro:~ jeffreyjenkins$ cd '/Applications/Baldur'\''s Gate - Enhanced Edition/Game Data/00777/Baldur'\''s Gate - Enhanced Edition.app/Contents/Resources/'
Jeffrey-Jenkinss-MacBook-Pro:Resources jeffreyjenkins$ ./setup-MegaModKits
-bash: ./setup-MegaModKits: Permission denied
Jeffrey-Jenkinss-MacBook-Pro:Resources jeffreyjenkins$
What do I do? Thanks
Last login: Thu Dec 5 14:19:50 on ttys001
Jeffrey-Jenkinss-MacBook-Pro:~ jeffreyjenkins$ cd '/Applications/Baldur'\''s Gate - Enhanced Edition/Game Data/00777/Baldur'\''s Gate - Enhanced Edition.app/Contents/Resources/'
Jeffrey-Jenkinss-MacBook-Pro:Resources jeffreyjenkins$ ./setup-MegaModKits
-bash: ./setup-MegaModKits: Permission denied
Jeffrey-Jenkinss-MacBook-Pro:Resources jeffreyjenkins$
What do I do? Thanks
0
Comments
Go to terminal and type "chmod u+x ./setup-(name of file you are trying to set up)
so type:
chmod u+x ./setup-MegaModKits
- Before installing mods, put everything you plan on installing into a folder you create — doesn't matter where that folder is. (This step isn't necessary but makes life easier.)
- Open Terminal. (It's in your applications folder, inside a subfolder called Utilities.)
- Terminal will give you a command line prompt. At the prompt, type exactly the following (not including the quotation marks): "sudo chmod -R 0777 ". Don't press return yet.
- Grab the folder that contains your mods, and try to drag it right into your terminal window. This will have the effect of copying the exact address of that folder onto that command line. Your line will now look something like "sudo chmod -R 0777 Users/Your Name/Desktop/mods to install".
- Press return.
- Terminal will ask you for your password (your admin password, which you use for logging onto your machine as an administrator). Type it in (it won't display while you do so), and press return.
Now, go ahead and move all your mod files into the Resources folder as you normally would; the permissions of all the files have been changed. If you still get a permissions error, try the same steps but drag the Resources folder itself into the Terminal window; that will take a little longer but will change the permissions on every file in that folder.
For the curious, what this line is doing:
sudo — allows terminal to do its thing even if the system thinks it shouldn't have permission to. This is the trick that is sometimes necessary in Mavericks, which is notorious for permissions problems even when you're logged in as an administrator.
chmod — changes permissions (technically, change mode).
-R — apply the command to everything inside the selected folder and all its subfolders.
0777 — gives everyone permission to do everything. Each 7 is for read + write + execute (read=1, write=2, execute=4; the sum means allow all three); the three numbers indicate owner, user, and everyone. This command completely unsecures everything in the selected folder, so don't use it indiscriminately.
I really appreciate all the help advice that is given on the forum with regards to helping users of Mavericks and the problem with this permission denied issue, but I don't seem to get mine to work and I 'm wondering if I'm missing anything here. Are there more of you out there who have yet to, or had success with installing mods on Mavericks?
Sigh....