WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bash.tcz  (Read 3614 times)

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
bash.tcz
« on: October 15, 2009, 02:42:05 PM »
when "Install"ing bash.tcz to the filesystem, /usr/local/tce/installed has perms 755, which breaks the extension loading process.  "Mount"ing bash.tcz does not change the permission

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: bash.tcz
« Reply #1 on: October 15, 2009, 02:50:11 PM »
I thought 755 was the normal perms for a directory. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: bash.tcz
« Reply #2 on: October 15, 2009, 02:53:12 PM »
The ownership of that dir in the bash extension is tc:staff, it should be ok.

Ok, I see your other post about it being 775.  Is that so other users besides tc can load extensions? 
« Last Edit: October 15, 2009, 02:56:59 PM by Jason W »

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: bash.tcz
« Reply #3 on: October 15, 2009, 02:59:27 PM »
my test setup:
boot TC 2.4.1 base norestore, from termial:  tce-load -w -i -r alsa.tczl (same as "Install" from appbrowser)
you will see the the error "touch: /usr/local/tce.installed/libasound: Permission denied"  which is the extension following bash in alsa.tczl.dep

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: bash.tcz
« Reply #4 on: October 15, 2009, 03:01:32 PM »
Ok, I'll check it out.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: bash.tcz
« Reply #5 on: October 15, 2009, 03:19:03 PM »
Since the perms/ownership of that directory in bash.tcz is correct, I am not sure of the cause at this time though I see it happen too on a "base norestore" boot.  I can look further tomorrow when I have more time.

I just converted the extensions in the repo to be in line with tc:staff owned /usr/local/tce.installed so they should just work.  But I check further.