What are the permissions on the directory that contains the file? If the user has write access to the directory, they can remove anything it contains.
BB on Mon, Oct 25, 2004 at 11:37:27PM +1000, Michael Lake <[EMAIL PROTECTED]> wrote: > Hi all > > Im a bit confused. Prob something simple. > > -rw-r--r-- 1 root root 1968 Oct 27 15:25 report > > As mikel I can remove the file report. > > rm: remove write-protected regular file `report'? y > done ! > > as its -rw-r--r-- I should not be able to write to it or remove it. > Im missing some basic understanding. > > Mike > -- > Mike Lake > Caver, Linux enthusiast and interested in anything technical. > > -- > UTS CRICOS Provider Code: 00099F > DISCLAIMER: This email message and any accompanying attachments may contain > confidential information. If you are not the intended recipient, do not > read, use, disseminate, distribute or copy this message or attachments. If > you have received this message in error, please notify the sender > immediately > and delete this message. Any views expressed in this message are those of > the > individual sender, except where the sender expressly, and with authority, > states them to be the views the University of Technology Sydney. Before > opening any attachments, please check them for viruses and defects. > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html