[WBEL-users] Permissions (Was Problems after updates)

Jean Lee jean.lee at free.fr
Fri Jun 10 09:16:18 CDT 2005


Will McDonald wrote:

>Is the system mounting its root parition read-only because if can't
>boot succesfully? What's the output of
>
>mount
>
>Will.
>
>
>On 6/10/05, Jean Lee <jean.lee at free.fr> wrote:
>
>  
>
>>- Downloading the latest procps update on a mirror site (ESAT)
>>- su
>>- password for root
>>- rpm -i procps-"version"
>>
>>Here, I have an error telling me that /bin/ps cannot be renamed because
>>I don't have the permissions
>>
>>Well :
>>- cd /bin
>>- "ls ps" returns ps in mode 555
>>- chmod 755 ps
>>
>>Here I have an error :
>>I don't have the permission to change permissions of "/bin/ps"
>>
>>How is it possible because I am logged as root ?
>>What am I doing wrong ?
>>
>>Thank you for any help,
>>    
>>
>
>
>
>  
>
I can change other pemissions in /bin
for example "chmod 777 /bin/vi" works fine

Is it possible that I have been hacked (I have an ssh server but root 
connections are not permitted and the incomming connections are chrooted) ?



Here are the outputs :

[root at ServeurLinux]/usr/ROOT/install/procps# rpm -qi procps
package procps is not installed

[root at ServeurLinux]/usr/ROOT/install/procps# rpm -ql procps
package procps is not installed

[root at ServeurLinux]/usr/ROOT/install/procps# ls
procps-2.0.17-13.i386.rpm

[root at ServeurLinux]/usr/ROOT/install/procps# rpm -i 
procps-2.0.17-13.i386.rpm
error: unpacking of archive failed on file /bin/ps: cpio: rename failed 
- Operation not permitted

[root at ServeurLinux]/usr/ROOT/install/procps# ls -la /bin/ps
-r-xr-xr-x    1 root     root        67500 Dec 13  2003 /bin/ps

[root at ServeurLinux]/usr/ROOT/install/procps# chmod 755 /bin/ps
chmod: changing permissions of `/bin/ps': Operation not permitted

[root at ServeurLinux]/usr/ROOT/install/procps# mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda2 on /usr type ext3 (rw)
[root at ServeurLinux]/usr/ROOT/install/procps#

Thank you for your help...



More information about the Whitebox-users mailing list