Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: leonardoce on September 23, 2013, 03:28:39 AM

Title: python.tcz, tce.installed permissions
Post by: leonardoce on September 23, 2013, 03:28:39 AM
I noticed a strange behaviour of the python extension for TinyCore 5.
Before loading it the "/usr/local/tce.installed" has the following permessions:

Code: [Select]
tc@box:~$ ls -l /usr/local
...
drwxrwxr-x    2 root     staff         2400 Nov  9  2012 tce.installed/
...

After loading the python extension:

Code: [Select]
tc@box:~$ tce-load -i python
python.tcz: OK
tc@box:~$ ls -l /usr/local
...
drwxr-xr-x    2 root     staff         2500 Jun 16 21:25 tce.installed/
...

The permissions of the "tce.installed" directory changed from "775" to "755".
From this point in after if I try to load an extension I have a permission error:

Code: [Select]
tc@box:~$ tce-load -i geeqie
touch: /usr/local/tce.installed/lcms: Permission denied
lcms.tcz: OK
touch: /usr/local/tce.installed/geeqie: Permission denied
geeqie.tcz: OK

The python extension has 755 as permission for the "tce.installed" directory, as you can see:

Code: [Select]
tc@box:~$ ls -l /tmp/tcloop/python/usr/local/
...
drwxr-xr-x    2 root     staff           29 Jun 16 21:25 tce.installed/
...

Now every extension that I load give "Permission denied" errors:

Code: [Select]
tc@box:~$ tce-load -i geeqie
touch: /usr/local/tce.installed/lcms: Permission denied
lcms.tcz: OK
touch: /usr/local/tce.installed/geeqie: Permission denied
geeqie.tcz: OK

Have I catched a bug or I misunderstood how this Tce Extension works?
Thanks! You all have created a wonderful distro!

Leonardo

Title: Re: python.tcz, tce.installed permissions
Post by: Juanito on September 23, 2013, 03:30:53 AM
Is it something to do with the start-up script?
Title: Re: python.tcz, tce.installed permissions
Post by: bmarkus on September 23, 2013, 04:13:34 AM
WIll check