From: YAMANASHI Takeshi <9.nashi@gmail.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] remove files in /srv
Date: Tue, 1 Feb 2005 12:48:10 +0900 [thread overview]
Message-ID: <76195867b7c075504e92d249a17df2ea@orthanc.cc.titech.ac.jp> (raw)
On Tue Feb 1 12:21:37 JST 2005, arisawa@ar.aichi-u.ac.jp wrote:
> >Anyone can replace files in /srv. Bad things won't
> >happen if /srv/boot has been replaced by a malicious user?
:
> su# rm boot
> rm: boot: permission denied
oops. you can surely remove /srv/dns though.
what's the difference between boot and dns...?
I got it: #s is doing a special treatment for boot in
/sys/src/9/port/devsrv.c:/^srvremove .
if(strcmp(sp->name, "boot") == 0)
error(Eperm);
I'd rather have #s only removable by hostowner/file owner instead.
Would this change break something?
--
next reply other threads:[~2005-02-01 3:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 3:48 YAMANASHI Takeshi [this message]
2005-02-01 4:06 ` arisawa
2005-02-01 4:33 ` Russ Cox
2005-02-01 4:49 ` [9fans] allocb question Tim Newsham
2005-02-01 20:31 ` [9fans] remove files in /srv rog
2005-02-02 23:22 ` Bruce Ellis
2005-02-02 23:57 ` Charles Forsyth
-- strict thread matches above, loose matches on Subject: below --
2005-02-01 4:05 YAMANASHI Takeshi
2005-02-01 4:44 ` geoff
2005-02-01 1:11 YAMANASHI Takeshi
2005-02-01 3:21 ` arisawa
2005-02-01 3:56 ` Russ Cox
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=76195867b7c075504e92d249a17df2ea@orthanc.cc.titech.ac.jp \
--to=9.nashi@gmail.com \
--cc=9fans@cse.psu.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).