WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wrong permissions for pygtk,pygobject,pycairo => not working with bootcode user  (Read 3134 times)

Offline florian

  • Full Member
  • ***
  • Posts: 116
    • Home Page
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/

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
I usually chown files to tc:staff as well.. I think changing to local ownership was standard in the DSL book.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
I think he's referring to the permissions, not the uid/gid

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
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.   

Offline florian

  • Full Member
  • ***
  • Posts: 116
    • Home Page
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.)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
So why not change them to your own specifications?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
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.