Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Simple rm question



On Wed, 30 Sep 1998, Neil Booth wrote:

> Why, when I'm logged in as myself, can I delete root-owned, read-only
> files using rm?
> 
> I get asked for confirmation like "delete XYZ, overriding mode 0644?"
> 
> There must be a setting somewhere to stop this, as it seems a basic
> security hole. Couldn't find anything in the man pages.

It's because you own and have write permission in the directory containing
the file.  It's like playing Go - root has a group with only one eye, and
you've got it surrounded :)

> 
> Neil.
> 
> -----------------------------------------------------------------
> Pile up the benefits that accrue from studying by
> the light of fireflies reflected on the snow...
> ---------------------------------------------------------------
> Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate
> Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP"
> Next Nomikai: 20 November, 19:30  Tengu TokyoEkiMae 03-3275-3691
> ---------------------------------------------------------------
> Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
> 

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


---------------------------------------------------------------
Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate
Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP"
Next Nomikai: 20 November, 19:30  Tengu TokyoEkiMae 03-3275-3691
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links