Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99923 - permissions in /etc/conf.d
Summary: permissions in /etc/conf.d
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 09:19 UTC by Toralf Förster
Modified: 2005-07-23 01:00 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 Toralf Förster gentoo-dev 2005-07-22 09:19:07 UTC
/etc/conf.d/net.pp0 has permissions -rw------- , all other files in that
directory have -rw-r--r-- , what is correct ?

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




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
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/sha           
re/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyr           
ianes.net/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
www.ibiblio.org/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 arts avi berkdb bitmap-fonts cardbus cddb
cdparanoia crypt cups curl dvd dvdr dvdread embos            s encode ethereal
fam font-server foomaticdb fortran gd gdbm gif gpm gtk gtk2 imagemagick imlib
innodb ipv6 jai java javascr            ipt jimi jpeg junit kde libg++ libwww
live mad mbox mikmod mmx mmxext mng motif mp3 mpeg mysql nagios-dns nagios-ntp
nagios-            ping nagios-s ncurses network nls no-old-linux ogg oggvorbis
opengl oss pam pcmcia pdflib perl png python qt quicktime readl            ine
real samba sdl slp smime snmp spell sse sse2 ssl subversion svg tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb             userlocales vorbis webdav
wifi xanim xfs xine xml2 xmms xv zlib linguas_de linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-07-22 10:23:26 UTC
i dont think we've had a reason yet to use 600 permissions in conf.d

at any rate, baselayout doesnt manage net.ppp0
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2005-07-22 12:06:34 UTC
/etc/init.d/net.ppp0 is installed by net-dialup/ppp.   
   
but on my system, it has correct 755 permissions.  
Alin, can you check it please? 
 
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-07-23 01:00:03 UTC
the permissions on /etc/conf.d/net.ppp0 should be 0600 since it could contain a
password.

please note that net.ppp0 will be removed from ppp as soon as bug #53954 will be
resolved.