Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: u54749 on October 10, 2009, 09:12:02 PM

Title: Bug in tce-load
Post by: u54749 on October 10, 2009, 09:12:02 PM
Here is the log (unchanged Tinycore 2.4.1, very last jwm.tcz downloaded 5 minutes ago)
-------------------------------------------------------------------------------------
tc@box:~$ cd /mnt/sda1
tc@box:/mnt/sda1$ ls -l /usr/local
drwxrwxr-x    2 root     root            0 Apr 18 16:34 bin/
drwxr-xr-x    3 root     root            0 Apr 18 16:34 lib/
drwxrwxr-x    2 tc       staff           0 Oct 11 02:37 tce.flwm/
drwxrwxr-x    2 root     staff           0 Oct 11 02:37 tce.icons/
drwxrwxr-x    2 root     staff           0 Oct 11 02:37 tce.installed/
drwxrwxr-x    2 root     staff           0 Oct 11 02:37 tce.menu/
-rw-rw-r--    1 tc       staff         297 Oct 11 02:37 tce.wbar
tc@box:/mnt/sda1$ tce-load -i -r jwm.tcz
tc@box:/mnt/sda1$ ls -l /usr/local
drwxrwxr-x    2 root     root            0 Apr 18 16:34 bin/
drwxr-xr-x    3 root     root            0 Apr 18 16:34 lib/
drwxrwxr-x    2 tc       staff           0 Oct 11 02:37 tce.flwm/
drwxrwxr-x    2 root     staff           0 Oct 11 02:37 tce.icons/
drwxr-xr-x    2 root     staff           0 Oct 11 02:39 tce.installed/
drwxrwxr-x    2 root     staff           0 Oct 11 02:37 tce.menu/
-rw-rw-r--    1 tc       staff         297 Oct 11 02:37 tce.wbar
tc@box:/mnt/sda1$ tce-load -i -r ntfs-3g.tczl
touch: /usr/local/tce.installed/ntfs-3g: Permission denied
tc@box:/mnt/sda1$
-------------------------------------------------------------------------------------
tce-load changes the permissions on the tce.installed directory.  The group write permission disappears and subsequent installs can not update tce.installed any more.

Anybody has a correction?

Title: Re: Bug in tce-load
Post by: roberts on October 10, 2009, 09:32:33 PM
They just demanded permissions be accepted for Xorg.
So now back to auditing upstream files and directories.
It will be fixed in the extension and not in tce-load.
Title: Re: Bug in tce-load
Post by: roberts on October 10, 2009, 09:38:42 PM
jwm.tcz adjusted for upstream permission.
Title: Re: Bug in tce-load
Post by: u54749 on October 11, 2009, 05:50:11 AM
Thank you for the quick fix

The following extensions I use have the same problem
firefox.tcz
openssl-0.9.8k.tcz
rox-filer.tcz
thunderbird.tcz

I suppose it"s not a coincidence that these are the ones with non-zero filesizes in tce.installed
I have changed the ownership of the tce.installed directory to tc:staff as workaround for now.
Title: Re: Bug in tce-load
Post by: roberts on October 11, 2009, 08:55:46 AM
Thank you for the quick fix

The following extensions I use have the same problem
firefox.tcz
openssl-0.9.8k.tcz
rox-filer.tcz
thunderbird.tcz

I suppose it"s not a coincidence that these are the ones with non-zero filesizes in tce.installed
I have changed the ownership of the tce.installed directory to tc:staff as workaround for now.



firefox.tcz
openssl-0.9.8k.tcz
rox-filer.tcz
thunderbird.tcz

Above fixed.
Title: Re: Bug in tce-load
Post by: Jason W on October 11, 2009, 09:24:38 AM
I will once again check the extensions on my mirror and adjust those with root permissions on /usr/local/tce.installed.
Title: Re: Bug in tce-load
Post by: Jason W on October 11, 2009, 01:32:16 PM
Here is the list based on a fresh rsync on the mirror and a test of the extensions for root owned /usr/local/tce.installed:

Mplayer-nodeps.tcz
VBox-OSE-additions.tczl
Xfce4.tcz
Xfce4base.tczl
Xorg-7.4.tczl
apache2.tczl
bash.tcz
bashburn.tcz
bftpd.tcz
chimera2.tcz
clamav.tczl
firefox.tcz
flwm.tcz
flwm_topside.tcz
icewm.tcz
jwm-snapshot.tcz
jwm.tcz
libfltk-xft.tczl
lmsensors.tczl
minefield.tcz
nano.tcz
nfs-utils.tcz
oo2.tcz
openssh.tcz
openssl-0.9.8k.tcz
opera.tcz
pppd.tczl
python-2.5.2-minimal.tcz
python-2.5.2.tczl
rox-filer.tcz
samba3.tczl
seamonkey.tcz
tcp_wrappers.tczl
thunderbird.tcz
udevadm.tcz
visualboyadvance.tcz
wbar.tcz
wmaker.tczl

Though some may have just been fixed, this is the list produced by what is on my HD just after a fresh rsync. 

I am fixing them and am in the process of uploading them.  I have the originals for the chance there is an issue with the new ones.
Title: Re: Bug in tce-load
Post by: Kingdomcome on October 11, 2009, 02:22:06 PM
I have an update ready to submit for openssh and VBox-OSE-additions which also have the permissions fixed.  Will submit those shortly, no need to fix current repo extensions.
Title: Re: Bug in tce-load
Post by: bmarkus on October 11, 2009, 02:25:26 PM
JW,

Xfce4base.tczl

need an update anyhow, I will do it in the next days.

Xfce4.tcz just a ghost from the past, not an available extension in the repository.

Do not waste time with them.

Title: Re: Bug in tce-load
Post by: Jason W on October 11, 2009, 04:25:55 PM
The extensions are fixed and in the process of uploading.  But of course, feel free to submit any updates or fixes  They were fixed in batch mode with scripting, so no fixing 20 took no more work than fixing 5.