github/hubot — Issue #105: bin/hubot -c doesn't preserve file permissions
Author: cldwalker
Created: 2011-10-29 19:48:42+00:00
State: open

Trying a fresh install, 1.1.4:

$ bin/hubot -c testbot
Creating a hubot install at testbot
...

$ ls -al src/templates/bin/hubot
-rwxr-xr-x 1 bozo staff 133 Oct 29 12:25 hubot

# No write permission
$ ls -al testbot/bin/hubot
-rw-r--r-- 1 bozo staff 133 Oct 29 15:34 testbot/bin/hubot

I googled and couldn't find open bugs on Fs.writeFileSync which `hubot -c` uses to copy. Is this expected behavior? I'm on node 0.4.12 and mac 10.6. I can add a README kludge if desired.