Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: florian on August 16, 2009, 08:58:38 AM

Title: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: florian on August 16, 2009, 08:58:38 AM
pycairo, pygobject, pygtk have wrong permissions and thus don't work with a user oher than tc

in /tmp/tcloop:
drwx--S---    1 tc       staff          16 Jan  1  1970 pycairo/
drwx--S---    1 tc       staff          16 Jan  1  1970 pygobject/
drwx--S---    1 tc       staff          16 Jan  1  1970 pygtk/
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: jpeters on August 16, 2009, 12:27:10 PM
I usually chown files to tc:staff as well.. I think changing to local ownership was standard in the DSL book.
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: ^thehatsrule^ on August 16, 2009, 12:37:47 PM
I think he's referring to the permissions, not the uid/gid
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: jpeters on August 16, 2009, 12:52:42 PM
I think he's referring to the permissions, not the uid/gid

I see; I'll also need to check those, not assuming user will be tc.   
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: florian on August 16, 2009, 02:39:22 PM
Yep, the bootcode user create a different user (very practical to share files with another disto).

That user is also part of group staff.  So it's fine if permissions in the extensions are tc:staff ... as long as the group permissions are set correctly (however for some reason there are quite a few extensions who have 0 permission for the group!)

(personally, I would need a fix on those extensions as I need to run some python gui apps.)
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode u
Post by: jpeters on August 16, 2009, 11:00:48 PM
So why not change them to your own specifications?
Title: Re: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user
Post by: Jason W on August 17, 2009, 04:36:09 AM
This has occured before, due to the directory permissions when the tcz is made:

http://forum.tinycorelinux.net/index.php?topic=2103.0

Using mktemp to create the directory the tcz is made from results in bad permissions when the tcz is mounted. 

Correcting the extensions mentioned here now.