Re: [Rd] chown, chgrp?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 16 Aug 2012 17:37:02 +0100

On 15/08/2012 18:38, peter dalgaard wrote:
>
> On Aug 15, 2012, at 17:56 , Barry Rowlingson wrote:
>
>> On Wed, Aug 15, 2012 at 2:47 PM, Simon Urbanek
>> <simon.urbanek_at_r-project.org> wrote:
>>
>>>
>>> ... and moreover with the increasing adoption of ACL on unix and non-existence of uid/gid on Windows this is more an archaic curiosity so I don't think it makes sense to add it at this point.
>>>
>>
>> It does however raise the question, "What is Hadley up to now?" :)
>
> Aiming for the fortune file again, Barry?
>
> Anyways, since it is not portable anyway, what was ever wrong with
>
> system(sprintf("chown %s %s", foo, bar)
>
> ?

Yes, that is the point. I added Sys.chmod because R's own scripts needed something portable (both to Windows, and later in the handling of umask where POSIX allows some wiggle room). We've never needed chown/chgrp.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 16 Aug 2012 - 16:39:25 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 17 Aug 2012 - 00:50:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive