PDA

View Full Version : Linux Client version of TS has install 'bug'


Magic Power
14-04-2004, 01:01
First of, this is NOT a request for help, I've solved the problem myself :D . This IS a bug report for the Linux TS Client install procedure. If bug reports should go somewhere else, then please tell me so, as I haven't been able to find the right place. Also, it's possible that you may not have problems installing the same version, I'm only telling the problem I encountered.

The problem arises when installing the Linux Client, version 2.0.32 (2032 code version). (The latest :)).

When installing, the installer creates files with read and execute permissions only for the current user. That should be no problem for a single user system, it will still run, but if you want to install the program systemwide you'll get into problems.

Then only the root user has access rights to the TeamSpeak directory, the TeamSpeak executable itself and the Sounds directory. This means that only root can run TeamSpeak, everyone else gets a permission denied.

I've installed it as root (system-wide), and had to grant Read and Execute permissions to Group and Others for the TeamSpeak directory and (all) files under it. That solved my problem, and I can now start TS as a normal user AND hear confirmation sounds (Link Engaged, Link Disengaged). (those sounds had 'bad' permissions too).

pim
14-04-2004, 08:17
If I remember correctly it is written somewhere not to install any TS application under root, but make, or allocate to, a special user for it. This for obvious security reasons

That still doesnt prevent the things you mention but will force you to think about the rights for that user, the group it belongs to etc.

Magic Power
14-04-2004, 15:48
Originally posted by pim
If I remember correctly it is written somewhere not to install any TS application under root, but make, or allocate to, a special user for it. This for obvious security reasons.

True, but remember I'm talking here about the Linux CLIENT, not the Linux Server version. On my server I've installed the latest Linux Server version (2.0.20.1), and it's running since yesterday as a dedicated user with very few rights. For a server version that makes sence.

But if you're talking about the CLIENT version, that's another matter. If I install it on my Linux Desktop system, I want it to be available to all users, and not only the default one. Then I have to install it as root in a public directory, otherwise not everyone can run and use it (as I described above). And there are no security considerations here, if the TeamSpeak directory contents cannot be modified by normal users (I've given NO write rights to them), and if the users run it under their own permissions (The SetUID bit is NOT set).

The only problem that there could be now (as far as I can see) is that, for example, one user has been given admin rights to a server, and has saved the admin login data in the local adressbook of TeamSpeak. In this case, if this data is saved in the install dir of the Linux TeamSpeak Client (and is allowed to write in that directory), then others have access to the admin login too. However, if this user specific data is written to his/her own home directory, (like all other applications do), then there is no problem. (Currently I'm under Windows, so I cannot test if this is the case).

But in general, yes, programs should be started with as little permissions as possible for it to function,if you care about security. That's why my server TS is running under a dedicated user. And normal users run TS under their own permissions, which should be no problem too.

pim
14-04-2004, 19:22
all makes sense m8. let's wait until Brain and/or Linuxfan respond to this

Brain
14-04-2004, 22:19
Sorry, you'll have to wait for a reply from pwk.linuxfan then. I've never used the Linux client.

Schika
31-05-2004, 18:36
U got It Magic Power!!!
Onother bug I found on the Linux Client:
If user A install the client in his home directory - and run it once. Another user B install it in his home directory and run it once. After this user A is not be able to run the client ANYMORE.
If user A runns the uninstall script and deletes TS Client from his home directory - user B (remember he has a own copy of TS in his home dir) is not be able to run TS!!!

Newszi
09-06-2004, 17:51
:cool: I'm using TS clinet about one year ago in windows. I have two PC with TS server in Linux about half year, and these are very usefull, and works greatly.
But under my debian I can't use TS client with arts, with gnome sound server, or ALSA. I tried it with 2.4.18-bf24, 2.4.24, 2.6.6. With artsdp I can force it, but the mic input isn't still working. So if I don't know TS before I can easily think TS linux clinet is still in beta phase. :eek:

callihn
28-06-2004, 13:41
That's not a bug, you shouldn't install ANYTHING as root.

If you want all users to have access to it then install it as a member of the users group and make sure that the group has the desired permissions.

See:

man chmod
man chown
man chgrp