Guest claust Posted November 4, 2004 Report Share Posted November 4, 2004 When trying to touch/mkdir a file/directory, I get a permission denied as root. It is only in the following directories (Have not discovered any other directories). /usr/bin; /sbin. I can write in /usr which the the mount point and / Mount ##### /dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw) none on /proc type proc (rw) none on /proc/bus/usb type usbfs (rw) none on /dev type devfs (rw) none on /dev/pts type devpts (rw,mode=0620) /dev/ide/host0/bus0/target1/lun0/part1 on /home type ext3 (rw) none on /mnt/cdrom type supermount (ro,dev=/dev/hdc,fs=udf:iso9660,--,iocharset=iso8859-15) none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850,umask=0) /dev/ide/host0/bus0/target1/lun0/part5 on /tmp type ext3 (rw) /dev/ide/host0/bus0/target0/lun0/part6 on /usr type ext3 (rw) /dev/ide/host0/bus0/target0/lun0/part7 on /var type ext3 (rw) touch #### touch /usr/bin/testingtouch touch: cannot touch `/usr/bin/testingtouch': Permission denied ls -la /usr/ ####### drwxr-xr-x 2 root root 20480 Sep 28 00:10 bin/ any help would be appreciated. Thanks Claus Quote Link to comment Share on other sites More sharing options...
Hirogen2 Posted November 20, 2004 Report Share Posted November 20, 2004 Possibilities: - the immutable flag is set for /usr/bin and everywhere where you cannot write (that's highly unlikely) - you are using SELinux, and you're not allowed to do everything, despite "id" showing root - you are not effectively root, i.e. UID=0, but EUID!=0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.