Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started 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
-
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:
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.
-
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.
-
I will look into nfs-utils.tcz tonight.
-
Adjusted perms of the tce.installed script and hopefully fixed the situation.
-
Works great now. Thanks.