WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE-load errors on Version 3.4  (Read 2310 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
TCE-load errors on Version 3.4
« on: January 05, 2011, 10:20:14 AM »
/usr/local/tce.installed is drwxr-xr-x root root
tce-load run from tc gets the following error
touch: /usr/local/tce.installed/xxxxx : Permission denied
where xxxxx is the package being installed.

For example:
with openssh, we get the touch error for
gcc_libs
openssl-0.9.8
openssh


Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TCE-load errors on Version 3.4
« Reply #1 on: January 05, 2011, 10:42:22 AM »
If this were a bug in the base it would be widespread and most likely caught in release candidate testing.

Cannot reproduce.

Using base norestore displays proper permissions.
Using the example posted as shows no problem:

Code: [Select]
tc@dev:~$ ls -ld /usr/local/tce.installed/
drwxrwxr-x    2 tc       staff          100 Jan  5 10:37 /usr/local/tce.installed//
tc@dev:~$ ls -l /usr/local/tce.installed/
total 0
-rw-r--r--    1 tc       staff            0 Jan  5 10:37 gcc_libs
-rw-r--r--    1 tc       staff            0 Jan  5 10:37 openssh
-rw-r--r--    1 tc       staff            0 Jan  5 10:37 openssl-0.9.8
tc@dev:~$

Most likely a bad extension was loaded. Would need to identify such for correction.
There are audit scripts available for the proper making of extensions.
10+ Years Contributing to Linux Open Source Projects.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCE-load errors on Version 3.4
« Reply #2 on: January 05, 2011, 11:19:42 AM »
I thought I had tested with base norestore.
The culprit is nfs-utils.tcz
It has the bad /usr/local/tce.installed
Its dependencies ( portmap and tcp_wrappers ) are ok.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: TCE-load errors on Version 3.4
« Reply #3 on: January 05, 2011, 11:48:58 AM »
I will look into nfs-utils.tcz tonight.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: TCE-load errors on Version 3.4
« Reply #4 on: January 05, 2011, 06:51:32 PM »
Adjusted perms of the tce.installed script and hopefully fixed the situation.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCE-load errors on Version 3.4
« Reply #5 on: January 05, 2011, 08:08:27 PM »
Works great now.  Thanks.