Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101343 - Media-sound/amsynth-1.0.0-r1 doesn't work as non-root user
Summary: Media-sound/amsynth-1.0.0-r1 doesn't work as non-root user
Status: RESOLVED DUPLICATE of bug 81576
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 08:46 UTC by Jouni Rinne
Modified: 2005-08-04 08:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2005-08-04 08:46:48 UTC
Originally, after installation, I was unable to run amSynth as an ordinary user.
However, it worked ok when ran as root.

After some googling about I found out that the current kernels doesn't allow
running binaries with setuid root. The permissions of the actual amSynth binary,
/usr/libexec/amSynth.bin, are set to 6711 (-rws--s--x). I followed  the advice
found on
http://ccrma-mail.stanford.edu/pipermail/planetccrma/2005-February/008221.html
and chmodded the binary to 755. After that I was able to run amSynth as my
humble self without any problems, and according to the mentioned post, there
seems to be no performance loss.

Maybe the amSynth.bin permissions should be set to 755 as default, instead of
6711? At least it would save new users a lot of head-scratching :)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI.ISO-8859-1"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm arts avi berkdb bitmap-fonts bmp cdr
crypt cups curl dga divx4linux dv dvd dvdread emboss encode esd fam ffmpeg
firefox flac foomaticdb fortran gdbm gif gimpprint gnome gnustep gpm gstreamer
gtk gtk2 guile ieee1394 imagemagick imap imlib jack java jpeg kde ladcca lcms
libg++ libwww mad matroska mikmod mjpeg mmap mmx motif mp3 mpeg mysql ncurses
nls nodrm nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline real samba scanner sdl slang sndfile speex ssl svg
tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode
usb v4l v4l2 vorbis win32codecs xine xinerama xml xml2 xv xvmc zlib linguas_fi
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 08:59:08 UTC

*** This bug has been marked as a duplicate of 81576 ***