-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency between doc and code for chown using negative argument: -1 #15523
Comments
From @atoomicRecent change to perl 5.24 change the chown behavior when using -1 argument: But perldoc for chow still mention: I'm not sure which part is incorrect: the doc ? or the change ? Is it now deprecated ? Thanks for the clarification on this. # chown root: /tmp/xxx; perl522 -E 'open my $f, ">", "/tmp/xxx"; say chown -1, 99, $f'; ls -l /tmp/xxx # chown root: /tmp/xxx; perl524 -E 'open my $f, ">", "/tmp/xxx"; say chown -1, 99, $f'; ls -l /tmp/xxx |
From @cpansproutOn Tue Aug 16 15:50:31 2016, atoomic wrote:
Commit f95ba54 looks like a mistake to me. The change was made to appease a linter that didn’t like the idea of a negative argument because someone decided at some point to make it not like it. Makes no sense to me. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From @jhiOn Tue Aug 16 15:59:52 2016, sprout wrote:
Looks like the negative arguments to fchown are supported in some systems, with some semantics, under some conditions. In other words, nothing portable can be said about it. So reverting the change and telling Coverity to shut up about it. |
From @atoomicPlease also revert c4f643b On Tue Aug 16 16:09:54 2016, jhi wrote:
|
From @cpansproutOn Wed Aug 17 07:47:43 2016, atoomic wrote:
Can Jarkko explain the purpose of c4f643b? -- Father Chrysostomos |
From @atoomiclooks like the second commit happened after the first one in order to fix the unit test as -1 was not available anymore for chown.... On Wed Aug 17 16:40:40 2016, sprout wrote:
|
From @jkeenanOn Tue, 15 Nov 2016 04:13:58 GMT, tonyc wrote:
Are there any issues outstanding for this ticket? Thank you very much. |
From @atoomicwe can close this ticket the revert was done, and now everything is in sync On Thu, 29 Dec 2016 06:11:58 -0800, jkeenan wrote:
|
From @jkeenanOn Thu, 29 Dec 2016 18:52:08 GMT, atoomic wrote:
Marking ticket Resolved. -- |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128967 (status was 'resolved')
Searchable as RT128967$
The text was updated successfully, but these errors were encountered: