GNU bug report logs - #29207
info chmod

Previous Next

Package: coreutils;

Reported by: kalle <kalle <at> projektwerkstatt.de>

Date: Wed, 8 Nov 2017 09:56:01 UTC

Severity: normal

Done: Bernhard Voelker <mail <at> bernhard-voelker.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29207 in the body.
You can then email your comments to 29207 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#29207; Package coreutils. (Wed, 08 Nov 2017 09:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to kalle <kalle <at> projektwerkstatt.de>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 08 Nov 2017 09:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kalle <kalle <at> projektwerkstatt.de>
To: bug-coreutils <at> gnu.org
Subject: info chmod
Date: Wed, 08 Nov 2017 11:54:30 +0100
info chmod doesn't say, which users can apply it successfully. The same
for info chown.
Are the related man-pages also maintained by GNU coreutils? They also
have the same deficiencies...

greetings,
kalle




Information forwarded to bug-coreutils <at> gnu.org:
bug#29207; Package coreutils. (Thu, 09 Nov 2017 10:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 29207 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: kalle <kalle <at> projektwerkstatt.de>, 29207 <at> debbugs.gnu.org
Subject: Re: bug#29207: info chmod
Date: Thu, 9 Nov 2017 11:53:33 +0100
On 11/08/2017 11:54 AM, kalle wrote:
> info chmod doesn't say, which users can apply it successfully. The same
> for info chown.

Well, it does - indirectly:

  https://www.gnu.org/software/coreutils/manual/html_node/chmod-invocation.html#chmod-invocation

  [...] This behavior depends on the policy and functionality of the
  underlying chmod system call. When in doubt, check the underlying
  system behavior.

Unfortunately, the above is mentioned in the context of set-
user-ID and set-group-ID, although it generally applies.

For GNU/Linux systems, this usually means that only root and the owner
of the file can chmod(2).

> Are the related man-pages also maintained by GNU coreutils? They also
> have the same deficiencies...

Also here, this is documented ... but also in the 'SETUID AND SETGID BITS'
context.

Have a nice day,
Berny




Information forwarded to bug-coreutils <at> gnu.org:
bug#29207; Package coreutils. (Mon, 20 Nov 2017 08:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 29207 <at> debbugs.gnu.org (full text, mbox):

From: kalle <kalle <at> projektwerkstatt.de>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 29207 <at> debbugs.gnu.org
Subject: Re: bug#29207: info chmod
Date: Mon, 20 Nov 2017 09:42:37 +0100

On 09.11.2017 11:53, Bernhard Voelker wrote:
> On 11/08/2017 11:54 AM, kalle wrote:
>> info chmod doesn't say, which users can apply it successfully. The same
>> for info chown.
> Well, it does - indirectly:
>
>    https://www.gnu.org/software/coreutils/manual/html_node/chmod-invocation.html#chmod-invocation
>    [...] This behavior depends on the policy and functionality of the
>    underlying chmod system call. When in doubt, check the underlying
>    system behavior.
well, i understand this at a reference to chmod (2). But it is not 
explicit.
I think this should be changed then.
> Unfortunately, the above is mentioned in the context of set-
> user-ID and set-group-ID, although it generally applies.
>
> For GNU/Linux systems, this usually means that only root and the owner
> of the file can chmod(2).
>
>> Are the related man-pages also maintained by GNU coreutils? They also
>> have the same deficiencies...
> Also here, this is documented ... but also in the 'SETUID AND SETGID BITS'
> context.
>
> Have a nice day,
> Berny
greetings,kalle




Information forwarded to bug-coreutils <at> gnu.org:
bug#29207; Package coreutils. (Sat, 16 Dec 2017 22:11:01 GMT) Full text and rfc822 format available.

Message #14 received at 29207 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: kalle <kalle <at> projektwerkstatt.de>, 29207 <at> debbugs.gnu.org
Subject: Re: bug#29207: info chmod
Date: Sat, 16 Dec 2017 23:10:07 +0100
[Message part 1 (text/plain, inline)]
On 11/20/2017 09:42 AM, kalle wrote:
> I think this should be changed then.

The attached patch (almost) copies a sentence from the POSIX
spec into the Texinfo manual.

Have a nice day,
Berny



[0001-doc-mention-which-privileges-are-needed-to-chmod.patch (text/x-patch, attachment)]

Reply sent to Bernhard Voelker <mail <at> bernhard-voelker.de>:
You have taken responsibility. (Mon, 18 Dec 2017 07:12:01 GMT) Full text and rfc822 format available.

Notification sent to kalle <kalle <at> projektwerkstatt.de>:
bug acknowledged by developer. (Mon, 18 Dec 2017 07:12:02 GMT) Full text and rfc822 format available.

Message #19 received at 29207-done <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: kalle <kalle <at> projektwerkstatt.de>, 29207-done <at> debbugs.gnu.org
Subject: Re: bug#29207: info chmod
Date: Mon, 18 Dec 2017 08:11:11 +0100
On 12/16/2017 11:10 PM, Bernhard Voelker wrote:
> The attached patch [...]

push with a slightly improved commit message at
  https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=47fb363432

Marking this as done.

Have a nice day,
Berny




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.