Installing DUB on OSX

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 26 00:03:19 PST 2016


On 2016-02-25 22:38, Joel wrote:

> .dub is grayed out on Finder, and isn't writable.

I'm suspecting that you don't own that directory. You can see the owner 
by running this:

ls -l -a ~/ | grep dub

The third column is the owner. You change the owner like this from the 
Terminal:

sudo chown -R joelcnz ~/.dub

Assuming "joelcnz" is your user account name.

If you do are the owner then it looks like the directory isn't writable. 
You can check that with the same "ls" command. The permissions are in 
the first column. It should look like this:

drwxr-xr-x

Meaning writable, readable and executable by the owner. Readable and 
executable by the group, readable and executable by everyone else. To 
make it have those exact permissions, run the following:

chmod 755 ~/.dub

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list