Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: gerald_clark on January 05, 2011, 01:20:14 PM

Title: TCE-load errors on Version 3.4
Post by: gerald_clark on January 05, 2011, 01:20:14 PM
/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

Title: Re: TCE-load errors on Version 3.4
Post by: roberts on January 05, 2011, 01:42:22 PM
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.
Title: Re: TCE-load errors on Version 3.4
Post by: gerald_clark on January 05, 2011, 02:19:42 PM
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.
Title: Re: TCE-load errors on Version 3.4
Post by: Jason W on January 05, 2011, 02:48:58 PM
I will look into nfs-utils.tcz tonight.
Title: Re: TCE-load errors on Version 3.4
Post by: Jason W on January 05, 2011, 09:51:32 PM
Adjusted perms of the tce.installed script and hopefully fixed the situation.
Title: Re: TCE-load errors on Version 3.4
Post by: gerald_clark on January 05, 2011, 11:08:27 PM
Works great now.  Thanks.