From: Andries.Brouwer@cwi.nl
To: leitner@fefe.de, linux-kernel@vger.kernel.org
Subject: Re: chown bug
Date: Mon, 5 Mar 2001 21:05:35 +0100 (MET) [thread overview]
Message-ID: <UTC200103052005.VAA74162.aeb@vlet.cwi.nl> (raw)
From: Felix von Leitner <leitner@fefe.de>
If user !root says chown("/usr",-1,-1), he gets EPERM. Why?
Because the standard says:
The chown( ) function shall fail if:
[EPERM] The effective user ID does not match the owner of the file, or ..
Andries
next reply other threads:[~2001-03-05 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-05 20:05 Andries.Brouwer [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-05 19:06 chown bug Felix von Leitner
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=UTC200103052005.VAA74162.aeb@vlet.cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=leitner@fefe.de \
--cc=linux-kernel@vger.kernel.org \
/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