Browse Source

Permissions on profile

Bob Mottram 7 years ago
parent
commit
a6c6841a13
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-utils-setup

+ 1
- 0
src/freedombone-utils-setup View File

@@ -94,6 +94,7 @@ function support_256_colours {
94 94
     if ! grep 'xterm-256color' /home/$MY_USERNAME/.profile; then
95 95
         echo '' >> /home/$MY_USERNAME/.profile
96 96
         echo 'export TERM=xterm-256color' >> /home/$MY_USERNAME/.profile
97
+        chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.profile
97 98
     fi
98 99
 }
99 100