WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bug in tce-load  (Read 4222 times)

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
Bug in tce-load
« 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?


Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Bug in tce-load
« Reply #1 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.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Bug in tce-load
« Reply #2 on: October 10, 2009, 09:38:42 PM »
jwm.tcz adjusted for upstream permission.
10+ Years Contributing to Linux Open Source Projects.

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
Re: Bug in tce-load
« Reply #3 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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Bug in tce-load
« Reply #4 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.
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Bug in tce-load
« Reply #5 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.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Bug in tce-load
« Reply #6 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.

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: Bug in tce-load
« Reply #7 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Bug in tce-load
« Reply #8 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.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Bug in tce-load
« Reply #9 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.