emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17495: closed (chgrp: mention of being a member of


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17495: closed (chgrp: mention of being a member of the target group)
Date: Thu, 19 Jun 2014 17:58:02 +0000

Your message dated Thu, 19 Jun 2014 18:57:41 +0100
with message-id <address@hidden>
and subject line Re: bug#17495: chgrp: mention of being a member of the target 
group
has caused the debbugs.gnu.org bug report #17495,
regarding chgrp: mention of being a member of the target group
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17495: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17495
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: chgrp: mention of being a member of the target group Date: Thu, 15 May 2014 09:49:23 +0900
Hi,

Here is a very common usecase:

sudo chgrp www-data dir

in a deployment script.

I have always used "sudo" with this because I didn't know why I was getting an operation permitted error when doing so. Until I found out that if the effective user is a member of the target group www-data, the sudo isn't needed.

The Wikipedia clearly says that:

The chgrp (from change groupcommand may be used by unprivileged users on Unix-like systems to change the group associated with a file system object (such as a file, directory, or link) to one of which they are a member.

I am wondering why the chgrp manpage or info pages do not mention anything about that. It would be very helpful to add that piece of very crucial information to the manpage/info pages.

Best regards,

--
Wouter Thielen

--- End Message ---
--- Begin Message --- Subject: Re: bug#17495: chgrp: mention of being a member of the target group Date: Thu, 19 Jun 2014 18:57:41 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
On 06/19/2014 02:34 PM, Pádraig Brady wrote:
> The variation on some systems where users can give away files
> is discussed at the "APPLICATION USAGE" and "RATIONALE" sections of:
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/chown.html
> 
> We should mention this _portable_ behavior in the info doc at least
> for chown and chgrp

Done in the attached.

thanks,
Pádraig.

Attachment: chgrp-docs.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]