WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bash install error when tcuser is no tc  (Read 1636 times)

Offline aw

  • Newbie
  • *
  • Posts: 45
bash install error when tcuser is no tc
« on: September 27, 2015, 03:46:52 AM »
Hi,

The last line of 6.x/x86_64/bash.tcz -- tce.installed script produces an error if the tcuser is not tc:

Quote
chown: unknown user/group tc:staff

It's hardcoded for the user tc. Here's the offending line from /usr/local/tce.installed/bash:

Code: [Select]
chown tc:staff /home/"$TCHOME"/.bashrc
I'm guessing this can be fixed with:

Code: [Select]
chown $TCHOME:staff /home/"$TCHOME"/.bashrc
Thanks.

Edit: This doesn't actually prevent the installation of the bash extension, so not a very serious issue..
github.com/aw

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bash install error when tcuser is no tc
« Reply #1 on: September 27, 2015, 07:48:37 AM »
bash startup script adjusted in 6.x x86 and x86_64 repos - thanks