WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: python.tcz, tce.installed permissions  (Read 3351 times)

Offline leonardoce

  • Newbie
  • *
  • Posts: 1
python.tcz, tce.installed permissions
« 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


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: python.tcz, tce.installed permissions
« Reply #1 on: September 23, 2013, 03:30:53 AM »
Is it something to do with the start-up script?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: python.tcz, tce.installed permissions
« Reply #2 on: September 23, 2013, 04:13:34 AM »
WIll check
Béla
Ham Radio callsign: HA5DI

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