Bug 103908

Summary: redhat-control-network doesn't start because of permissions
Product: [Retired] Red Hat Linux Beta Reporter: Santiago Erquicia <santiago_erquicia>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: beta1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-28 13:55:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    

Description Santiago Erquicia 2003-09-07 03:30:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
When I try to start it as a normal user, there are 3 messages that say:

redhat-config-network:

Error copying 
//etc/hosts
to //etc/sysconfig/networking/profiles//default/hosts:
[Errno 13] Permission denied: '//etc/sysconfig/networking/profiles//default/hosts'!

redhat-config-network:

Error copying 
//etc/resolv.conf
to //etc/sysconfig/networking/profiles//default/resolv.conf:
[Errno 13] Permission denied:
'//etc/sysconfig/networking/profiles//default/resolv.conf'!

redhat-config-network:

Please start redhat-config-network with root permissions once!

If I start it as root, everything starts fine.

The launcher doesn't ask for a root password when is executed by a normal user.

After I run it as root, the same errors keep appearing but at least it shows the
network interfaces.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Open Menu - System Tools - Network Device Control as a normal user
2.
3.
    

Additional info:

Comment 1 Harald Hoyer 2003-09-08 09:11:22 UTC
redhat-control-network or redhat-config-network ???
If you start redhat-control-network as a normal user, it should display all
interfaces it can read...
redhat-config-network should be run as root in every case...

Comment 2 Santiago Erquicia 2003-09-08 14:17:19 UTC
The problem is in redhat-control-network as a normal user.

Someone at the mailing list asked me if I had /usr/sbin in my path.  I don't
have /usr/sbin at all in my path

here is what prints printenv

PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/santiago/bin

I tried to put /usr/sbin in my path and everything is fine.

I'm not running it right now, so please tell me if you need more info