From: Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>
To: xordoquy@aurora-linux.com, linux-kernel@vger.kernel.org
Subject: Re: Bug in the file attributes ?
Date: Thu, 29 Mar 2001 13:25:41 -0600 (CST) [thread overview]
Message-ID: <200103291925.NAA69404@tomcat.admin.navo.hpc.mil> (raw)
--------- Received message begins Here ---------
>
>
> Hi,
>
> I just made a manipulation that disturbs me. So I'm asking whether it's a
> bug or a features.
>
> user> su
> root> echo "test" > test
> root> ls -l
> -rw-r--r-- 1 root root 5 Mar 29 19:14 test
> root> exit
> user> rm test
> rm: remove write-protected file `test'? y
> user> ls test
> ls: test: No such file or directory
>
> This is in the user home directory.
> Since the file is read only for the user, it should not be able to remove
> it. Moreover, the user can't write to test.
> So I think this is a bug.
Nope - rm only updates the directory, which the user owns; not the file.
The prompt is just being nice.
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil
Any opinions expressed are solely my own.
next reply other threads:[~2001-03-29 19:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 19:25 Jesse Pollard [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-29 20:20 Bug in the file attributes ? Xavier Ordoquy
2001-03-29 18:44 ` Andreas Dilger
2001-03-29 20:56 ` Xavier Ordoquy
2001-03-29 19:04 ` John Jasen
2001-03-29 22:57 ` Brian Beattie
2001-03-29 18:45 ` Stephen Clouse
2001-03-29 18:51 ` Justin Carlson
2001-03-30 2:34 ` Tim Wright
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200103291925.NAA69404@tomcat.admin.navo.hpc.mil \
--to=pollard@tomcat.admin.navo.hpc.mil \
--cc=linux-kernel@vger.kernel.org \
--cc=xordoquy@aurora-linux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.