icecast2 belongs to icecast2 user, no access with other users , only "sudo bash" worked but after that could not start the server with user "root"

Bug #94246 reported by kosnick
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icecast2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: icecast2

- i installed icecast2 with synaptic
- i then needed to change some configuration files included in the /etc/icecast2 directory
- i got "permission denied" for an answer while trying to "cd /etc/icecast2"
- somehow i figured that /etc/icecast2 belongs to user named after icecast2 and group named after icecast
- in the meanwhile through system->administration->users and groups i found out that there is no such kind of user or group
- i gave it a try through irc #icecast. There someone told me that "sudo bash" would work. It did work and after that i had access to /etc/icecast2. I made some changes and then i needed to start the server. But the server denied to start up , proposing that i should not try to start it with root. So i exited the previous shell (which i made with "sudo bash") and tried to start up the server. Then i got back to the beginning where i had no access to the /etc/icecast2 directory.

Revision history for this message
kosnick (kosnickx) wrote :

guys i got it or at least i found one solution
i do change the files with "sudo bash"
and then i fire the server up with "sudo /etc/init.d/icecast start"
it seems that after all it was not a bug ..... sorry for mentioning it here.

Revision history for this message
Pierre Buard (pierre-buard) wrote :

A more elegant solution would be to make the user a part of the "icecast" group.

To do that, you can use the appropriate option in your desktop environment or simply type :
usermod -a -G GROUP USER
or
gpasswd -a USER GROUP

Changed in icecast2:
status: New → Confirmed
Revision history for this message
Romain Beauxis (toots) wrote :

Fixed in debian 2.3.2-3

Daniel T Chen (crimsun)
Changed in icecast2 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.