Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266632 - app-misc/screen, invoking screen as non-root fails, permission error.
Summary: app-misc/screen, invoking screen as non-root fails, permission error.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 09:20 UTC by Mike Park
Modified: 2009-05-16 09:52 UTC (History)
1 user (show)

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 Mike Park 2009-04-18 09:20:35 UTC
After updating app-misc/screen, invoking screen as non-root user fails with message "Cannot open your terminal '/dev/tty(insert number)' - please check."  Before the update through emerge, non-root user did not have such error. Matter of fact, downgrading to screen-4.0.3_p20070403.ebuild after unmerging screen-4.0.3 allowed my non-root account to invoke screen with no such permission error. If something has changed to cause that kind of restriction intentionally in the updated application, then please forgive me, but my low iq brain could not infer such possibility after reading the ChangeLog. Perhaps, it is highly plausible that my system setup has been broked to begin with, lacking much wisdom, etc. If so, I apologize 1000 times. This might be ugly, but I am attempting to cut/paste from console, the emerge --info.  Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1-Kitiara x86_64)
=================================================================
System uname: Linux-2.6.29.1-Kitiara-x86_64-AMD_Athlon-tm-_64_Processor_4000+-with-gentoo-2.0.0
Timestamp of tree: Sat, 18 Apr 2009 06:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1-r1
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fno-strict-aliasing -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 apic audiofile bash-completion berkdb bzip2 cdr clflush cli cmov cracklib crypt css cups cx8 dbm dbus djvu doc dri dts dv dvd dvdr encode exif faad2 fbcon ffmpeg firefox flaac flac fontconfig foomaticdb fortran fpu ftp fxsr fxsr_opt gdbm ggi gif glx gnutls gpm gstreamer hal icecast icecast2 iconv id3 ieee1394 imagemagick imlib ipv6 isdnlog jadetex jpeg kde lahf_lm lame libnotify libshout lm lm_sensors mad mca mce midi mikmod mmx mmxext mng mp3 msr mtrr mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nx ogg openal opengl openmp pae pam pat pcre pdf perl pge png pni ppds pppd pse pse36 python qt3 qt4 quicktime raw rdesktop readline reflection rep_good sasl sdl sep session shout shout2 spell spl sse sse2 ssl syscall sysfs syslog taglib tcpd tiff truetype tsc unicode usb vim-syntax vme vorbis wavpack webkit wmf x264 xcb xcomposite xft xml xorg xosd xpm xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Thank you.

Mike 


Reproducible: Always

Steps to Reproduce:
1. emerge screen (4.0.3)
2. invoke screen as non-root

Actual Results:  
exit with error mentioned above.
:x



Expected Results:  
Should behave as did in previous build, successful ivocation.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-21 08:22:28 UTC
Confirming on my ~arch amd64 box
Comment 2 Mike Park 2009-05-16 09:52:50 UTC
closing, as it doesn't seem to be a problem anymore with the latest
4.0.3 ebuild.