Tiny Core Extensions > TCE News
/usr/local/tce.* ownership and perms
jpeters:
--- Quote from: Jason W on October 18, 2009, 06:05:54 AM ---Yes, with the above permissions set on all existing extensions' tce.installed directory there should be no more permissions issue with any version of TC 2.x. If extensions in anyone's existing tce directory are causing issue, redownload and all should be well. There should be no extensions now that will cause a root:root tce.installed, but of course if there are any they can be mentioned here. But I think I got them all, 102 were fixed.
--- End quote ---
Looks like the vulnerability was fixed as well. I created xonclock-test while in root, and loaded -i -r (I think that changed /tce.installed to root:root previously). Despite the error message, permissions remain, xonclock is in /tce.installed, and xonclock works.
--- Code: ---
tc@box:~$ ls -ld /usr/local/tce.installed/
drwxr-xr-x 2 root staff 960 Oct 18 07:00 /usr/local/tce.installed//
tc@box:~$ tce-load -i -r /tmp/xonclock-test.tcz
xonclock-test.tcz
touch: /usr/local/tce.installed/xonclock-test: Permission denied
tc@box:~$ ls -ld /usr/local/tce.installed/
drwxr-xr-x 2 root staff 980 Oct 18 07:01 /usr/local/tce.installed//
tc@box:~$ find /usr/local/tce.installed/xonclock
/usr/local/tce.installed/xonclock
tc@box:~$
--- End code ---
jpeters:
Something's still weird. Sometimes command line installs aren't getting into /tce.installed, other times they are. This example shows the files installed, the extension loaded to my tce dir, but no listing in
/tce.installed. I tried the same with xonclock, and it was fine. Last time I tried with actkbd, it wasn't in my tce directory either, although the files were present.
--- Code: ---tc@box:~$ tce-load -i -w actkbd.tcz
actkbd.tcz: OK
touch: /usr/local/tce.installed/actkbd: Permission denied
tc@box:~$ find /usr/local/tce.installed/actkbd
find: /usr/local/tce.installed/actkbd: No such file or directory
tc@box:~$ find /usr/local/sbin/actkbd
/usr/local/sbin/actkbd
tc@box:~$ find /mnt/hda1/tcZ2/actkbd.tcz
/mnt/hda1/tcZ2/actkbd.tcz
--- End code ---
Jason W:
jpeters - is that using either an empty tce directory or a fresh boot with "base norestore"?
jpeters:
--- Quote from: Jason W on October 18, 2009, 01:46:35 PM ---jpeters - is that using either an empty tce directory or a fresh boot with "base norestore"?
--- End quote ---
neither
Jason W:
Ok, that means that there are some extensions in your tce directory that have not been fixed.
Running the extension audit script on your tce directory will tell you which are the offending extensions
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version