Please could someone explain how cacko is setup regarding permissions and security- especially regarding ipkg.
I set a root password as soon as I had installed Cacko. I then wanted to install some software. The graphical tool 1. sucks, and 1b. crashed, so I gave up and used the command line ipkg- which I prefer anyway. As expected, the command line ipkg can't do anything as a normal user due to a lack of permissions. So I ran it as root. Fine. I installed vim-full, zuc and japanese-support and tried to install japanese-dict before it reminded me that I was still trying to install to root and had run out of space.
Now I'm stuck. It successfully removed vim-full and zuc, but fails on japanese-support. If I run "ipkg remove" as root it complains that: "Qt/Embedded data directory is not owned by user 0", "Aborted". Interestingly it says this twice and then exits, returning 134 if that makes any difference. But if I run it as the default user it fails due to the lack of permissions.
So I have some questions:
1. Just to make sure, the GUI itself doesn't run as root, right?
2. What user does the graphical package manager run as? Is it setuid root or something?
3. What user am I supposed to run the command line ipkg as?
4. Why can't I remove japanese-support?
5. Is there a way of getting ipkg to produce more output of what it is doing (I tried -v but that didn't help)?
6. What is the "Qt/Embedded data directory"?
Thanks
Simon