root should be able to do anything... right???

2000-01-17 Thread Ron Rademaker
Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49, 117 Dec 1 2031 fonts Now I'm trying to remove this file, the system won't allow

Re: root should be able to do anything... right???

2000-01-17 Thread Todd Suess
Use lsattr and check the attributes on the file, if is is listed as type i (imutable) for example, you will not be able to remove the file unless you use chattr and remove the attribute first. Regards, Todd At 12:57 PM 1/17/00 +0100, Ron Rademaker wrote: Last week I've send a mail about a

Re: root should be able to do anything... right???

2000-01-17 Thread Ashley Clark
On Hai, 17 Giªng 2000, Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49, 117 Dec 1 2031 fonts Now I'm

Re: root should be able to do anything... right???

2000-01-17 Thread Peter S Galbraith
Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49, 117 Dec 1 2031 fonts Now I'm trying to remove this

Re: root should be able to do anything... right???

2000-01-17 Thread Ron Rademaker
I tried to do a lsattr, when it reached fonts I got: lsattr: No such device While reading flags on ./fonts Ron On Mon, 17 Jan 2000, Todd Suess wrote: Use lsattr and check the attributes on the file, if is is listed as type i (imutable) for example, you will not be able to remove the file

Re: root should be able to do anything... right???

2000-01-17 Thread Ron Rademaker
On Mon, 17 Jan 2000, Peter S Galbraith wrote: Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49,

Re: root should be able to do anything... right???

2000-01-17 Thread aphro
i suggest running an e2fsck on the drive there may be errors in the filesystem nate On Mon, 17 Jan 2000, Ron Rademaker wrote: ron ron Last week I've send a mail about a weird file, that should be a directory ron but it was a character device. (/usr/X11R6/include/X11/fonts). It also had ron

Re: root should be able to do anything... right???

2000-01-17 Thread Onno Ebbinge
Try lsattr and chattr... Regards, Onno At 12:57 PM 1/17/00 +0100, Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280

Re: root should be able to do anything... right???

2000-01-17 Thread David Wright
Quoting Ron Rademaker ([EMAIL PROTECTED]): Subject: root should be able to do anything... right??? Err, wrong. Root can ignore ownership and permissions, but that's about it. Any program that allowed root to do whatever it liked would be insane. Last week I've send a mail about a weird file

Re: root should be able to do anything... right???

2000-01-17 Thread Ethan Benson
On 17/1/2000 Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49, 117 Dec 1 2031 fonts Now I'm trying to

Re: root should be able to do anything... right???

2000-01-17 Thread Laurent PICOULEAU
On Mon, 17 Jan, 2000 à 12:57:43PM +0100, Ron Rademaker wrote: Last week I've send a mail about a weird file, that should be a directory but it was a character device. (/usr/X11R6/include/X11/fonts). It also had weird permissions: c---r- 1 8224 10280 49, 117 Dec 1 2031

Re: root should be able to do anything... right???

2000-01-17 Thread aphro
On Mon, 17 Jan 2000, David Wright wrote: d.wrig Err, wrong. Root can ignore ownership and permissions, but that's d.wrig about it. Any program that allowed root to do whatever it liked d.wrig would be insane. there are kernel patches out there to restrict usage too..the patches i use restrict