Re: ifconfig??

From: Kevin Nathan (knathan_at_project54.com)
Date: 03/05/05


Date: Fri, 4 Mar 2005 20:44:16 -0700

On Fri, 04 Mar 2005 12:33:22 -0800
Perfect Reign <theperfectreign@yahoo.com> wrote:

mine:

   -rwxr-xr-x 1 root root 55160 2004-10-01 18:44 /sbin/ifconfig

Your's:
 
   -rwxr-xr-- 1 root root 55160 2004-10-01 18:44 /sbin/ifconfig
 
See the difference? This file is owned by root (permissions are the
first group 'rwx') and root can Read, Write and eXecute this file. It
belongs to group 'root' (permissions are the second group 'r-x') so
all members of root group can Read and eXecute it. Everyone else uses
the permissions from the third group 'r--' so all they can do is Read
it.

You can change the permissions on this file, when logged in as root, by
doing:

   chmod o+x /sbin/ifconfig

or

   chmod 755 /sbin/ifconfig

If it reverts back, check the contents of your /etc/permissions.* files
to see if /sbin/ifconfig is being set in them, by doing:

   grep ifconfig /etc/permissions.[elps]*

-- 
Kevin Nathan (Arizona, USA)  
Linux Potpourri and a.o.l.s. FAQ -- http://www.project54.com/linux/
Open standards. Open source. Open minds. 
The command line is the front line.
Linux 2.6.8-24.11-default
  8:27pm  up 27 days  8:22,  9 users,  load average: 0.27, 0.18, 0.18


Relevant Pages

  • Re: [SLE] Stupid newbie user rights question
    ... environment and not really used to Linux permissions. ... the root privilege is assigned on a per system basis. ... These are read, write execute. ...
    (SuSE)
  • Re: [RFC] FUSE permission modell (Was: fuse review bits)
    ... >> root is denied all access. ... and the kernel checks the permission. ... The userspace can't enforce the permissions. ...
    (Linux-Kernel)
  • Re: [SLE] Link to application will not work
    ... > permissions on the binary, and all of the files in the directory are ... > binary and it will not execute and no message in the log files. ... > shows the user as part of group root. ... Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ...
    (SuSE)
  • Re: FC3: Problems with mounting USB harddisk
    ... > UID that created them (or GID if group has write permissions) because ... > As root, create a directory on the ext3 partition, and give rwx to your ... I bet your user can then rwx in that directory, ...
    (Fedora)
  • Re: Problem setting up NFS on Ubuntu
    ... I have installed Ubuntu ... > I used System - Administration - Synaptic Package Manager to include NFS ... Should I be using the GUI, and if so, how do I do that as root, ... and doesn't change the permissions displayed by ls -l ...
    (comp.os.linux.setup)