treehouses / treehouses.github.io

A Markdown Wiki for treehouses 🏡
http://treehouses.io
132 stars 107 forks source link

fix builder blog #388

Open dogi opened 4 years ago

dogi commented 4 years ago

Problem

following instructions of https://treehouses.io/#!./pages/blog/20190921-builder.md sl.sh needs to get the right file rights ;)

nemo@omen:~/ole/builder$ git checkout adding_sl 
Branch adding_sl set up to track remote branch adding_sl from origin.
Switched to a new branch 'adding_sl'
nemo@omen:~/ole/builder$ cd scripts.d/
nemo@omen:~/ole/builder/scripts.d$ ls -al
total 116
drwxrwxr-x  2 nemo nemo 4096 Jan 25 15:20 .
drwxrwxr-x 13 nemo nemo 4096 Jan  4 01:06 ..
-rwxrwxr-x  1 nemo nemo  157 Nov  8  2018 00_disable_autoresize.sh
-rwxrwxr-x  1 nemo nemo   86 Apr  3  2019 00_utc.sh
-rwxrwxr-x  1 nemo nemo  939 Jul 26  2019 05_add_keys.sh
-rwxrwxr-x  1 nemo nemo 1840 Jul 26  2019 05_add_repos.sh
-rwxrwxr-x  1 nemo nemo  637 Nov  8  2018 10_pkg_purge.sh
-rwxrwxr-x  1 nemo nemo  852 Aug  2 22:13 15_pkg_upgrade.sh
-rwxrwxr-x  1 nemo nemo 1230 Jan 25 15:20 16_pkg_install.sh
-rwxrwxr-x  1 nemo nemo 1421 Nov 15 21:36 18_loginmsg.sh
-rwxrwxr-x  1 nemo nemo 1723 Jan 18 02:40 20_balena.sh
-rwxrwxr-x  1 nemo nemo   61 Nov  8  2018 20_enable_ssh.sh
-rwxrwxr-x  1 nemo nemo  473 Jul  3  2019 20_fix_node.sh
-rwxrwxr-x  1 nemo nemo  174 Nov  8  2018 20_install_files.sh
-rwxrwxr-x  1 nemo nemo   93 Nov  8  2018 20_vim.sh
-rwxrwxr-x  1 nemo nemo  332 Jan  6 16:15 30_bluetooth.sh                                                                                    
-rwxrwxr-x  1 nemo nemo 1504 Oct 17 01:39 30_docker.sh                                                                                       
-rwxrwxr-x  1 nemo nemo  251 Nov  8  2018 30_enable_uart.sh                                                                                  
-rwxrwxr-x  1 nemo nemo  135 Nov  8  2018 30_examples_scripts.sh                                                                             
-rwxrwxr-x  1 nemo nemo  502 Nov  8  2018 30_g_ether.sh                                                                                      
-rwxrwxr-x  1 nemo nemo  498 Jan 25 15:20 30_npminstall.sh
-rwxrwxr-x  1 nemo nemo  965 Jul 31 22:12 30_ssh_keys.py
-rwxrwxr-x  1 nemo nemo  168 Nov  8  2018 30_version_txt.sh
-rwxrwxr-x  1 nemo nemo  501 Feb 20  2019 31_install_ssh_configs.sh
-rw-rw-r--  1 nemo nemo   64 Jan 25 15:20 32_sl.sh
-rwxrwxr-x  1 nemo nemo  217 Oct 17 01:39 32_terraform.sh
-rwxrwxr-x  1 nemo nemo  285 Jan 18 02:40 33_usb.sh
-rwxrwxr-x  1 nemo nemo 2360 Oct 30 23:52 40_planet.sh
-rwxrwxr-x  1 nemo nemo  250 Nov  8  2018 50_rm_files.sh

Steps to reproduce the problem

Write N/A if not applicable.

Screenshots

Drag and drop images below. Write N/A if not applicable.

Proposed solution

add chmod at step2 there

jayala-29 commented 4 years ago

@dogi when I worked through the builder blog, all the files have -rwxr-xr-x rights by default

should they all have -rwxr-xr-x or -rwxrwxr-x?